list(APPEND SOURCE
dsm_ctrl.c
twain32_main.c
- twain_i.h)
+ precomp.h)
add_library(twain_32 SHARED
${SOURCE}
set_module_type(twain_32 win32dll)
target_link_libraries(twain_32 wine)
add_importlibs(twain_32 user32 msvcrt kernel32 ntdll)
-add_pch(twain_32 twain_i.h SOURCE)
+add_pch(twain_32 precomp.h SOURCE)
add_cd_file(TARGET twain_32 DESTINATION reactos FOR all)
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "twain_i.h"
+#include "config.h"
-#include <winuser.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "twain.h"
+#include "twain_i.h"
#include "resource.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(twain);
static TW_UINT16 DSM_initialized; /* whether Source Manager is initialized */
static TW_UINT32 DSM_sourceId; /* source id generator */
--- /dev/null
+
+#ifndef _TWAIN32_PRECOMP_H
+#define _TWAIN32_PRECOMP_H
+
+#include <wine/config.h>
+
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#include "twain_i.h"
+
+#include <winuser.h>
+
+#include <wine/debug.h>
+
+#endif /* !_TWAIN32_PRECOMP_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "twain.h"
#include "twain_i.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(twain);
extern HINSTANCE DSM_hinstance;
#ifndef _TWAIN32_H
#define _TWAIN32_H
-#include <wine/config.h>
+#ifndef __WINE_CONFIG_H
+# error You must include config.h first
+#endif
#include <stdarg.h>
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <twain.h>
-
-#include <wine/debug.h>
-#include <wine/list.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(twain);
+#include "windef.h"
+#include "winbase.h"
+#include "twain.h"
+#include "wine/list.h"
struct pending_message
{
extern TW_UINT16 TWAIN_ProcessEvent
(pTW_IDENTITY pOrigin, activeDS *pSource, TW_MEMREF pData) DECLSPEC_HIDDEN;
-#endif /* _TWAIN32_H */
+#endif
reactos/dll/win32/t2embed # Synced to WineStaging-3.3
reactos/dll/win32/tapi32 # Synced to WineStaging-3.3
reactos/dll/win32/traffic # Synced to WineStaging-3.3
-reactos/dll/win32/twain_32 # Synced to Wine-3.0
+reactos/dll/win32/twain_32 # Synced to WineStaging-3.3
reactos/dll/win32/updspapi # Synced to WineStaging-2.9
reactos/dll/win32/url # Synced to WineStaging-2.9
reactos/dll/win32/urlmon # Synced to Wine-3.0