Esme Povirk (@madewokherd) commented about dlls/sane.ds/ui.c:
+#include "cfg.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
#define ID_BASE 0x100 #define ID_EDIT_BASE 0x1000 #define ID_STATIC_BASE 0x2000 +#define ID_APPLY_NOW 0x3021
+#define ID_SAVE_CFG 0x8337 +#define ID_EDIT_FILENAME 0x8338 +#define ID_BUTTON_SAVE 0x8339 +#define ID_BUTTON_LOAD 0x8340
+#define CSIDL_LOCAL_APPDATA 0x001c
Why not include the header that defines this?