Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2840d1b7
Commit
2840d1b7
authored
Mar 28, 1999
by
Jiuming Luo
Committed by
Alexandre Julliard
Mar 28, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved macro DECLARE_HANDLE() (in msacm.h and wtypes.h) to windef.h,
then deleted the duplicated typedefs (in imm.h and mmsystem.h).
parent
7f73a082
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
34 deletions
+15
-34
imm.h
include/imm.h
+0
-1
mmsystem.h
include/mmsystem.h
+0
-6
msacm.h
include/msacm.h
+0
-21
windef.h
include/windef.h
+15
-2
wtypes.h
include/wtypes.h
+0
-4
No files found.
include/imm.h
View file @
2840d1b7
...
...
@@ -14,7 +14,6 @@ extern "C" {
typedef
HANDLE
HIMC
;
typedef
HANDLE
HIMCC
;
typedef
HKL
*
LPHKL
;
typedef
int
(
CALLBACK
*
REGISTERWORDENUMPROCA
)(
LPCSTR
,
DWORD
,
LPCSTR
,
LPVOID
);
typedef
int
(
CALLBACK
*
REGISTERWORDENUMPROCW
)(
LPCWSTR
,
DWORD
,
LPCWSTR
,
LPVOID
);
...
...
include/mmsystem.h
View file @
2840d1b7
...
...
@@ -199,12 +199,8 @@ BOOL WINAPI PlaySoundW(LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound);
#define WAVERR_SYNC (WAVERR_BASE + 3)
/* device is synchronous */
#define WAVERR_LASTERROR (WAVERR_BASE + 3)
/* last error in range */
typedef
HWAVEIN16
*
LPHWAVEIN16
;
typedef
HWAVEOUT16
*
LPHWAVEOUT16
;
typedef
LPDRVCALLBACK16
LPWAVECALLBACK16
;
typedef
LPDRVCALLBACK
LPWAVECALLBACK
;
typedef
HMIXER16
*
LPHMIXER16
;
typedef
HMIXER
*
LPHMIXER
;
#define WOM_OPEN MM_WOM_OPEN
#define WOM_CLOSE MM_WOM_CLOSE
...
...
@@ -440,8 +436,6 @@ DWORD WINAPI waveInMessage(HWAVEIN,UINT,DWORD,DWORD);
#define MIDIERR_INVALIDSETUP (MIDIERR_BASE + 5)
/* invalid setup */
#define MIDIERR_LASTERROR (MIDIERR_BASE + 5)
/* last error in range */
typedef
HMIDIIN16
*
LPHMIDIIN16
;
typedef
HMIDIOUT16
*
LPHMIDIOUT16
;
typedef
LPDRVCALLBACK16
LPMIDICALLBACK16
;
typedef
LPDRVCALLBACK
LPMIDICALLBACK
;
#define MIDIPATCHSIZE 128
...
...
include/msacm.h
View file @
2840d1b7
...
...
@@ -11,27 +11,6 @@
#include "mmreg.h"
/***********************************************************************
* Types
*/
/* FIXME: Move to windef.h */
#define DECLARE_HANDLE(a) \
typedef HANDLE16 a##16; \
typedef HANDLE a; \
typedef a##16 *P##a##16; \
typedef a##16 *NP##a##16; \
typedef a##16 *LP##a##16; \
typedef a *P##a;
DECLARE_HANDLE
(
HACMDRIVERID
)
DECLARE_HANDLE
(
HACMDRIVER
)
DECLARE_HANDLE
(
HACMSTREAM
)
DECLARE_HANDLE
(
HACMOBJ
)
/* FIXME: Remove when define moved to windef.h */
#undef DECLARE_HANDLE
/***********************************************************************
* Defines/Enums
*/
...
...
include/windef.h
View file @
2840d1b7
...
...
@@ -183,7 +183,20 @@ typedef void* SEGPTR;
/* Handle types that exist both in Win16 and Win32. */
#define DECLARE_HANDLE(a) typedef HANDLE16 a##16; typedef HANDLE a
#define DECLARE_HANDLE(a) \
typedef HANDLE16 a##16; \
typedef HANDLE a; \
typedef a##16 *P##a##16; \
typedef a##16 *NP##a##16; \
typedef a##16 *LP##a##16; \
typedef a *P##a; \
typedef a *LP##a
DECLARE_HANDLE
(
HACMDRIVERID
);
DECLARE_HANDLE
(
HACMDRIVER
);
DECLARE_HANDLE
(
HACMOBJ
);
DECLARE_HANDLE
(
HACMSTREAM
);
DECLARE_HANDLE
(
HMETAFILEPICT
);
DECLARE_HANDLE
(
HACCEL
);
DECLARE_HANDLE
(
HBITMAP
);
DECLARE_HANDLE
(
HBRUSH
);
...
...
@@ -501,4 +514,4 @@ typedef const RECTL *LPCRECTL;
}
#endif
#endif
/* __WINE_WIN
TYPES
_H */
#endif
/* __WINE_WIN
DEF
_H */
include/wtypes.h
View file @
2840d1b7
...
...
@@ -82,10 +82,6 @@ typedef enum tagSTGC
STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE
=
4
}
STGC
;
#define DECLARE_HANDLE(a) typedef HANDLE16 a##16; typedef HANDLE a
DECLARE_HANDLE
(
HMETAFILEPICT
);
#undef DECLARE_HANDLE
typedef
struct
_COAUTHIDENTITY
{
USHORT
*
User
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment