Release 961013

Sun Oct 13 15:32:32 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [Make.rules.in] [*/Makefile.in]
	Made it possible to compile from a directory other than the source
	directory.

	* [graphics/metafiledrv/init.c] [include/metafiledrv.h]
	  [objects/metafile.c] [objects/dc.c]
	New graphics driver for metafiles.

	* [if1632/thunk.c]
	Added thunks for SetWindowsHook and SetDCHook.

	* [windows/dialog.c]
	Fixed GetNextDlgGroupItem and GetNextDlgTabItem to skip disabled
	items.

	* [*/*]
	Removed non Win32-clean types HANDLE, HBITMAP, HBRUSH, HFONT,
 	HINSTANCE, HMENU, HRGN and HTASK.

Wed Oct  9 14:59:45 1996  Frans van Dorsselaer  <dorssel@rulhm1.LeidenUniv.nl>

	* [controls/edit.c]
	Fixed EditWndProc() to fall back to DefWndProc() when the
	edit state structure is not available.

Wed Oct  2 14:00:34 1996  Huw D. M. Davies  <h.davies1@physics.oxford.ac.uk>

	* [windows/nonclient.c] [windows/mdi.c]
	AdjustWindowRectEx16() should only take notice of the styles
 	WS_DLGFRAME, WS_BORDER, WS_THICKFRAME and
 	WS_EX_DLGMODALFRAME. Thanks to Alex Korobka.

	* [controls/scroll.c]
	Fixed typo in ShowScrollBar32().

Sun Aug 25 20:18:56 1996  Jukka Iivonen <iivonen@cc.helsinki.fi>

	* [if1632/user32.spec] [if1632/winmm.spec]
	Added SetParent and sndPlaySoundA.
diff --git a/files/Makefile.in b/files/Makefile.in
index ae0a951..c5f236b 100644
--- a/files/Makefile.in
+++ b/files/Makefile.in
@@ -1,7 +1,10 @@
 prefix     = @prefix@
 sysconfdir = @sysconfdir@
 DEFS       = -D__WINE__  -DETCDIR=\"$(sysconfdir)\"
-TOPSRC     = @top_srcdir@
+TOPSRCDIR  = @top_srcdir@
+TOPOBJDIR  = ..
+SRCDIR     = @srcdir@
+VPATH      = @srcdir@
 MODULE     = files
 
 C_SRCS = \
diff --git a/files/drive.c b/files/drive.c
index 8695320..9210de7 100644
--- a/files/drive.c
+++ b/files/drive.c
@@ -80,7 +80,7 @@
 static DOSDRIVE DOSDrives[MAX_DOS_DRIVES];
 static int DRIVE_CurDrive = -1;
 
-static HTASK DRIVE_LastTask = 0;
+static HTASK16 DRIVE_LastTask = 0;
 
 
 /***********************************************************************
diff --git a/files/file.c b/files/file.c
index 2d786f2..d8b22b2 100644
--- a/files/file.c
+++ b/files/file.c
@@ -1154,7 +1154,7 @@
  */
 UINT16 SetHandleCount16( UINT16 count )
 {
-    HANDLE hPDB = GetCurrentPDB();
+    HGLOBAL16 hPDB = GetCurrentPDB();
     PDB *pdb = (PDB *)GlobalLock16( hPDB );
     BYTE *files = PTR_SEG_TO_LIN( pdb->fileHandlesPtr );
     WORD i;
@@ -1198,7 +1198,7 @@
 #ifdef WINELIB
         newfiles = (BYTE *)GlobalAlloc32( GMEM_FIXED, count );
 #else
-        HANDLE newhandle = GlobalAlloc16( GMEM_MOVEABLE, count );
+        HGLOBAL16 newhandle = GlobalAlloc16( GMEM_MOVEABLE, count );
         if (!newhandle)
         {
             DOS_ERROR( ER_OutOfMemory, EC_OutOfResource, SA_Abort, EL_Memory );