Commit e54cf7b4 authored by Alexandre Julliard's avatar Alexandre Julliard

Moved some handle declarations to the right headers.

parent cec294e4
...@@ -14,6 +14,18 @@ extern "C" { ...@@ -14,6 +14,18 @@ extern "C" {
typedef LPSTR HPSTR; /* a huge version of LPSTR */ typedef LPSTR HPSTR; /* a huge version of LPSTR */
typedef LPCSTR HPCSTR; /* a huge version of LPCSTR */ typedef LPCSTR HPCSTR; /* a huge version of LPCSTR */
DECLARE_OLD_HANDLE(HDRVR);
DECLARE_OLD_HANDLE(HWAVE);
DECLARE_OLD_HANDLE(HWAVEIN);
DECLARE_OLD_HANDLE(HWAVEOUT);
DECLARE_OLD_HANDLE(HMIDI);
DECLARE_OLD_HANDLE(HMIDIIN);
DECLARE_OLD_HANDLE(HMIDIOUT);
DECLARE_OLD_HANDLE(HMIDISTRM);
DECLARE_OLD_HANDLE(HMIXER);
DECLARE_OLD_HANDLE(HMIXEROBJ);
DECLARE_OLD_HANDLE(HMMIO);
#include "pshpack1.h" #include "pshpack1.h"
typedef LRESULT CALLBACK (*DRIVERPROC)(DWORD,HDRVR,UINT,LPARAM,LPARAM); typedef LRESULT CALLBACK (*DRIVERPROC)(DWORD,HDRVR,UINT,LPARAM,LPARAM);
......
...@@ -190,6 +190,13 @@ static const WCHAR ACMHELPMSGCONTEXTHELPW[] = { 'a','c','m', ...@@ -190,6 +190,13 @@ static const WCHAR ACMHELPMSGCONTEXTHELPW[] = { 'a','c','m',
#define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11) #define ACMDM_DRIVER_ABOUT (ACMDM_BASE + 11)
/* handles */
DECLARE_OLD_HANDLE(HACMDRIVERID);
DECLARE_OLD_HANDLE(HACMDRIVER);
DECLARE_OLD_HANDLE(HACMSTREAM);
DECLARE_OLD_HANDLE(HACMOBJ);
/*********************************************************************** /***********************************************************************
* Callbacks * Callbacks
*/ */
......
...@@ -44,56 +44,40 @@ extern "C" { ...@@ -44,56 +44,40 @@ extern "C" {
#endif /* __WINE__ */ #endif /* __WINE__ */
/* Integer types. These are the same for emulator and library. */ /* Integer types */
typedef UINT WPARAM; typedef UINT WPARAM;
typedef LONG LPARAM; typedef LONG LPARAM;
typedef LONG LRESULT; typedef LONG LRESULT;
typedef WORD ATOM; typedef WORD ATOM;
typedef WORD CATCHBUF[9]; typedef WORD CATCHBUF[9];
typedef WORD *LPCATCHBUF; typedef WORD *LPCATCHBUF;
typedef HANDLE HHOOK;
typedef HANDLE HMONITOR;
/* Handle types that exist both in Win16 and Win32. */ /* Handle types that exist both in Win16 and Win32. */
DECLARE_OLD_HANDLE(HACMDRIVERID); typedef int HFILE;
DECLARE_OLD_HANDLE(HACMDRIVER);
DECLARE_OLD_HANDLE(HACMOBJ);
DECLARE_OLD_HANDLE(HACMSTREAM);
DECLARE_OLD_HANDLE(HACCEL); DECLARE_OLD_HANDLE(HACCEL);
DECLARE_OLD_HANDLE(HBITMAP); DECLARE_OLD_HANDLE(HBITMAP);
DECLARE_OLD_HANDLE(HBRUSH); DECLARE_OLD_HANDLE(HBRUSH);
DECLARE_HANDLE(HCOLORSPACE); DECLARE_HANDLE(HCOLORSPACE);
DECLARE_OLD_HANDLE(HDC); DECLARE_OLD_HANDLE(HDC);
DECLARE_OLD_HANDLE(HDRVR); DECLARE_HANDLE(HDESK);
DECLARE_OLD_HANDLE(HENHMETAFILE); DECLARE_OLD_HANDLE(HENHMETAFILE);
typedef int HFILE;
DECLARE_OLD_HANDLE(HFONT); DECLARE_OLD_HANDLE(HFONT);
DECLARE_OLD_HANDLE(HHOOK);
DECLARE_OLD_HANDLE(HICON); DECLARE_OLD_HANDLE(HICON);
DECLARE_OLD_HANDLE(HINSTANCE); DECLARE_OLD_HANDLE(HINSTANCE);
DECLARE_OLD_HANDLE(HKEY); DECLARE_OLD_HANDLE(HKEY);
DECLARE_OLD_HANDLE(HKL);
DECLARE_OLD_HANDLE(HMENU); DECLARE_OLD_HANDLE(HMENU);
DECLARE_OLD_HANDLE(HMETAFILE); DECLARE_OLD_HANDLE(HMETAFILE);
DECLARE_OLD_HANDLE(HMIDI); DECLARE_OLD_HANDLE(HMONITOR);
DECLARE_OLD_HANDLE(HMIDIIN);
DECLARE_OLD_HANDLE(HMIDIOUT);
DECLARE_OLD_HANDLE(HMIDISTRM);
DECLARE_OLD_HANDLE(HMIXER);
DECLARE_OLD_HANDLE(HMIXEROBJ);
DECLARE_OLD_HANDLE(HMMIO);
DECLARE_OLD_HANDLE(HPALETTE); DECLARE_OLD_HANDLE(HPALETTE);
DECLARE_OLD_HANDLE(HPEN); DECLARE_OLD_HANDLE(HPEN);
DECLARE_OLD_HANDLE(HRGN); DECLARE_OLD_HANDLE(HRGN);
DECLARE_OLD_HANDLE(HRSRC); DECLARE_OLD_HANDLE(HRSRC);
DECLARE_OLD_HANDLE(HTASK); DECLARE_OLD_HANDLE(HTASK);
DECLARE_OLD_HANDLE(HWAVE);
DECLARE_OLD_HANDLE(HWAVEIN);
DECLARE_OLD_HANDLE(HWAVEOUT);
DECLARE_HANDLE(HWINSTA); DECLARE_HANDLE(HWINSTA);
DECLARE_HANDLE(HDESK);
DECLARE_OLD_HANDLE(HWND); DECLARE_OLD_HANDLE(HWND);
DECLARE_OLD_HANDLE(HKL);
/* Handle types that must remain interchangeable even with strict on */ /* Handle types that must remain interchangeable even with strict on */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment