Added yield proc members to mci struct.

This commit is contained in:
Eric Pouech 1999-03-22 14:49:31 +00:00 committed by Alexandre Julliard
parent ad86311f6a
commit 7081395019
2 changed files with 7 additions and 2 deletions

View File

@ -47,6 +47,9 @@ struct WINE_MCIDRIVER {
MCI_OPEN_DRIVER_PARMS16 modp;
MCI_OPEN_PARMS16 mop;
DWORD dwPrivate;
YIELDPROC lpfnYieldProc;
DWORD dwYieldData;
BOOL bIs32;
};
extern struct WINE_MCIDRIVER mciDrv[MAXMCIDRIVERS];

View File

@ -1094,6 +1094,8 @@ DWORD MCI_Open(DWORD dwParam, LPMCI_OPEN_PARMSA lpParms)
wDevID, uDevType, lpParms->wDeviceID);
dwRet = MCI_SendCommand(wDevID, MCI_OPEN_DRIVER, dwParam, (DWORD)lpParms);
MCI_GetDrv(wDevID)->lpfnYieldProc = 0;
MCI_GetDrv(wDevID)->dwYieldData = 0;
if (dwRet == 0) {
/* only handled devices fall through */