
78
MPT-500R/RH Series User Manual
3. Exportion from IB_WDT.DLL / IB_WDT.64.DLL
extern "C" __declspec(dllexport) int __stdcall InstallDriver(void);
extern "C" __declspec(dllexport) int __stdcall RemoveDriver(void);
extern "C" __declspec(dllexport) char* __stdcall GetWDTInfo(void);
extern "C" __declspec(dllexport) int __stdcall EnableWDT(int);
extern "C" __declspec(dllexport) int __stdcall DisableWDT(int);
extern "C" __declspec(dllexport) int __stdcall IsDioAvailable(int);
extern "C" __declspec(dllexport) int __stdcall SetDioInputMask(int);
extern "C" __declspec(dllexport) int __stdcall SetDioOutputMask(int);
extern "C" __declspec(dllexport) int __stdcall GetDioInput(int);
extern "C" __declspec(dllexport) int __stdcall SetDioOutput(int);
Note:
1. The
IB_WDT.DLL
is of 32-bit and works on 32-bit and 64-bit Windows
operating system
. The “IB_WDT.64.DLL” is for 64bit Windows only.
2. The routines are not thread-safe. Your software engineers should take the
responsibility to avoid multi-entry condition.
⚫
Driver Initialization & Deinitalization
extern "C" __declspec(dllexport) int __stdcall InstallDriver(void);
Input
: None
Output : Return 1 if device driver loads successfully; otherwise return 0.
Note:
This function should be invoked before Watchdog and Digital I/O
routines.
extern "C" __declspec(dllexport) int __stdcall RemoveDriver(void);
Input
: None
Output : Always return 1.
Note:
This function should be invoked before the program closes and it will
release the device driver and memory for
ib_wdt.dll
. If the program is closed
without calling this routine, resource leak may occur.
Summary of Contents for MPT-500R
Page 1: ...MPT 500R RH Intelligent Railway Gateway System User s Manual Version 1 0 October 2022...
Page 8: ......
Page 18: ...10 MPT 500R RH Series User Manual 1 8 Dimensions Unit mm...
Page 27: ...Hardware Configuration MPT 500R RH Series User Manual 19 2 9 RI NC...
Page 48: ...40 MPT 500R RH Series User Manual 2 5 26 J24 J25 USB Type C Flash Connector Factory use only...
Page 61: ...BIOS Setup MPT 500R RH Series User Manual 53 4 4 4 1 CPU Configuration...
Page 62: ...54 MPT 500R RH Series User Manual 4 4 2 PCH FW Configuration...
Page 68: ...60 MPT 500R RH Series User Manual 4 4 7 Network Stack Configuration...