01: #ifndef UKPUZZLEDEF_H 02: #define UKPUZZLEDEF_H 03: 04: typedef unsigned long UKPUZ_STATE; 05: 06: #define UKPUZ_NOERROR 0 07: #define UKPUZ_UNKNOWNERROR 1 08: #define UKPUZ_TIMEERROR 2 09: 10: #define WM_UK_WRITE (WM_USER+0x0001) 11: #define WM_UK_NOTIFY (WM_USER+0x0002) 12: 13: enum ENUKNOTIFY_MESSAGES 14: { 15: enUKPUZZLE_SOLUTIONFOUND=1, 16: enUKPUZZLE_FINISHED=2, 17: }; 18: 19: #define UKPUZ_MAXWAITINGTIME 60000 20: 21: #endif