Moved some MM internal definition to internal include files.
diff --git a/dlls/msvideo/msvideo_main.c b/dlls/msvideo/msvideo_main.c index deab5fd..d0f6ed1 100644 --- a/dlls/msvideo/msvideo_main.c +++ b/dlls/msvideo/msvideo_main.c
@@ -322,7 +322,7 @@ if (!hdrv) return 0; } - bIs16 = GetDriverFlags(hdrv) & WINE_GDF_16BIT; + bIs16 = GetDriverFlags(hdrv) & 0x10000000; /* undocumented flag: WINE_GDF_16BIT */ if (bIs16 && !pFnCallTo16) {
diff --git a/dlls/winmm/winemm.h b/dlls/winmm/winemm.h index ed288cd..9566502 100644 --- a/dlls/winmm/winemm.h +++ b/dlls/winmm/winemm.h
@@ -340,3 +340,9 @@ #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
diff --git a/include/mmsystem.h b/include/mmsystem.h index d74a230..7d68f28 100644 --- a/include/mmsystem.h +++ b/include/mmsystem.h
@@ -229,13 +229,6 @@ 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);