Merge with Winehq to support w32api and MS_VC headers.

Add linking to winedbgc.dll

svn path=/trunk/; revision=5778
This commit is contained in:
Steven Edwards 2003-08-22 23:36:27 +00:00
parent 9c1b0dcc9f
commit ed30599f45
9 changed files with 56 additions and 16 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 2003/08/07 04:03:23 royce Exp $
# $Id: Makefile,v 1.3 2003/08/22 23:36:27 sedwards Exp $
PATH_TO_TOP = ../..
@ -11,7 +11,7 @@ TARGET_CFLAGS += -D_DISABLE_TIDENTS
TARGET_BASE=0x76380000
TARGET_SDKLIBS = ntdll.a
TARGET_SDKLIBS = ntdll.a winedbgc.a
TARGET_OBJECTS = \
capability.o \

View file

@ -16,10 +16,18 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "twain.h"
#include "twain_i.h"
#include "wine/port.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
TW_UINT16 TWAIN_SaneCapability (activeDS *pSource, pTW_CAPABILITY pCapability,
TW_UINT16 action)

View file

@ -18,7 +18,9 @@
#include "twain.h"
#include "twain_i.h"
#include "wine/port.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
/* DG_AUDIO/DAT_AUDIOFILEXFER/MSG_GET */
TW_UINT16 TWAIN_AudioFileXferGet (pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,

View file

@ -16,13 +16,17 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
//#include "config.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdlib.h>
#include "twain.h"
#include "twain_i.h"
#include "wine/port.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
/* DG_CONTROL/DAT_CAPABILITY/MSG_GET */
TW_UINT16 TWAIN_CapabilityGet (pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,

View file

@ -16,9 +16,19 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.h"
//#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "twain.h"
#include "twain_i.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
/* DG_IMAGE/DAT_CIECOLOR/MSG_GET */
TW_UINT16 TWAIN_CIEColorGet (pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,

View file

@ -18,13 +18,20 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdlib.h>
//#include "config.h"
//#define NONAMELESSUNION
//#define NONAMELESSSTRUCT
#include "windows.h"
#include <stdlib.h>
#include <stdarg.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include "twain.h"
#include "twain_i.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(twain);
/* DG_CONTROL/DAT_IDENTITY/MSG_CLOSEDS */
TW_UINT16 TWAIN_CloseDS (pTW_IDENTITY pOrigin, TW_MEMREF pData)

View file

@ -52,8 +52,13 @@
#ifndef TWAIN
#define TWAIN
#include "windows.h"
#include "wine/port.h"
#include "windef.h"
#define FAR
#define huge
//#define WIN32
//#define _WIN32
//#define __declspec(spec)
/****************************************************************************
* TWAIN Version *

View file

@ -18,11 +18,15 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "windows.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);
WINE_DEFAULT_DEBUG_CHANNEL(twain);
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{

View file

@ -23,7 +23,7 @@
# include <sane/sane.h>
#endif
#include "twain.h"
#include "windows.h"
#include "windef.h"
/* internel information about an active data source */
typedef struct tagActiveDS