mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Moved some MM internal definition to internal include files.
This commit is contained in:
parent
6982039ffc
commit
766ef669eb
@ -322,7 +322,7 @@ HIC VFWAPI ICOpen(DWORD fccType, DWORD fccHandler, UINT wMode)
|
||||
if (!hdrv)
|
||||
return 0;
|
||||
}
|
||||
bIs16 = GetDriverFlags(hdrv) & WINE_GDF_16BIT;
|
||||
bIs16 = GetDriverFlags(hdrv) & 0x10000000; /* undocumented flag: WINE_GDF_16BIT */
|
||||
|
||||
if (bIs16 && !pFnCallTo16)
|
||||
{
|
||||
|
@ -340,3 +340,9 @@ void MMSYSTEM_MMTIME32to16(LPMMTIME16 mmt16, const MMTIME* mmt32);
|
||||
#define HWAVE_16(h32) (LOWORD(h32))
|
||||
#define HWAVEIN_16(h32) (LOWORD(h32))
|
||||
#define HWAVEOUT_16(h32) (LOWORD(h32))
|
||||
|
||||
/* GetDriverFlags() returned bits is not documented (nor the call itself)
|
||||
* Here are Wine only definitions of the bits
|
||||
*/
|
||||
#define WINE_GDF_EXIST 0x80000000
|
||||
#define WINE_GDF_16BIT 0x10000000
|
||||
|
@ -229,13 +229,6 @@ LRESULT WINAPI SendDriverMessage(HDRVR hDriver, UINT message,
|
||||
HMODULE WINAPI GetDriverModuleHandle(HDRVR hDriver);
|
||||
|
||||
DWORD WINAPI GetDriverFlags(HDRVR hDriver);
|
||||
#ifdef __WINESRC__
|
||||
/* this call (GetDriverFlags) is not documented, nor the flags returned.
|
||||
* here are Wine only definitions
|
||||
*/
|
||||
#define WINE_GDF_EXIST 0x80000000
|
||||
#define WINE_GDF_16BIT 0x10000000
|
||||
#endif
|
||||
|
||||
typedef void (CALLBACK *LPDRVCALLBACK) (HDRVR h, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user