-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDDGI_Generic_lib_def.h
74 lines (40 loc) · 4.08 KB
/
DDGI_Generic_lib_def.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*======================================================================*/
/* FUNCTION DECLARATIONS */
/*======================================================================*/
extern "C" __declspec(dllexport) HANDLE DDGL_Register(bool bEnglish, const char **descString, const char **version, const char *railProtocols[], const char *feedbackProtocols[]);
extern "C" __declspec(dllexport) bool DDGL_StartServer(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_StopServer(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_DisplayServer(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_GetNextExpectedResponse(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_RCV_DATA genericRcvData);
extern "C" __declspec(dllexport) bool DDGL_GetNextUnExpectedMessage(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_RCV_DATA genericRcvData);
extern "C" __declspec(dllexport) bool DDGL_ResumeOperations(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_PowerOff(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_EmergencyStop(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_StopLoco(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_CommandStationVersionRequest(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_CommandStationStatusRequest(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_DetectorInfoRequest(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_SetAccessoryState(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_LocoInfoRequest(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_SetSpeed(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_SetF0F4(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_SetF5F8(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_SetF9F12(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
/*
* Not handled functions
*
extern "C" __declspec(dllexport) bool DDGL_SetF0F12(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_DirectCVRead(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_ServiceModeResultRequest(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_DirectCVWrite(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_OperationModeProgramming(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_AccessoryInfoRequest(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData);
extern "C" __declspec(dllexport) bool DDGL_DisplayError(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_DisplayServerStatus(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_EnableErrorDisplay(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_DisplayStatistics(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_DisplayRcvBuffer(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_DisplayCmdFifo(DGI_SERVER_PARAMS *serverParams);
extern "C" __declspec(dllexport) bool DDGL_EnterServiceMode(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData)
extern "C" __declspec(dllexport) bool DDGL_ExitServiceMode(pDGI_SERVER_PARAMS serverParams, pDGI_GENERIC_DATA genericData)
*/