msvfw32: Remove 16bit driver references (now that they no longer exist in winmm).
This commit is contained in:
parent
89c009a063
commit
70d43eb047
|
@ -394,7 +394,6 @@ HIC VFWAPI ICOpen(DWORD fccType, DWORD fccHandler, UINT wMode)
|
||||||
ICOPEN icopen;
|
ICOPEN icopen;
|
||||||
HDRVR hdrv;
|
HDRVR hdrv;
|
||||||
WINE_HIC* whic;
|
WINE_HIC* whic;
|
||||||
BOOL bIs16;
|
|
||||||
static const WCHAR drv32W[] = {'d','r','i','v','e','r','s','3','2','\0'};
|
static const WCHAR drv32W[] = {'d','r','i','v','e','r','s','3','2','\0'};
|
||||||
reg_driver* driver;
|
reg_driver* driver;
|
||||||
|
|
||||||
|
@ -442,14 +441,7 @@ HIC VFWAPI ICOpen(DWORD fccType, DWORD fccHandler, UINT wMode)
|
||||||
if (!hdrv)
|
if (!hdrv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
bIs16 = GetDriverFlags(hdrv) & 0x10000000; /* undocumented flag: WINE_GDF_16BIT */
|
|
||||||
|
|
||||||
if (bIs16)
|
|
||||||
{
|
|
||||||
FIXME("Got a 16 bit driver, but no 16 bit support in msvfw\n");
|
|
||||||
CloseDriver(hdrv, 0, 0);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
whic = HeapAlloc(GetProcessHeap(), 0, sizeof(WINE_HIC));
|
whic = HeapAlloc(GetProcessHeap(), 0, sizeof(WINE_HIC));
|
||||||
if (!whic)
|
if (!whic)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue