mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 23:58:56 +00:00
Added yield proc members to mci struct.
This commit is contained in:
parent
ad86311f6a
commit
7081395019
@ -47,11 +47,14 @@ struct WINE_MCIDRIVER {
|
|||||||
MCI_OPEN_DRIVER_PARMS16 modp;
|
MCI_OPEN_DRIVER_PARMS16 modp;
|
||||||
MCI_OPEN_PARMS16 mop;
|
MCI_OPEN_PARMS16 mop;
|
||||||
DWORD dwPrivate;
|
DWORD dwPrivate;
|
||||||
|
YIELDPROC lpfnYieldProc;
|
||||||
|
DWORD dwYieldData;
|
||||||
|
BOOL bIs32;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct WINE_MCIDRIVER mciDrv[MAXMCIDRIVERS];
|
extern struct WINE_MCIDRIVER mciDrv[MAXMCIDRIVERS];
|
||||||
|
|
||||||
#define MCI_GetDrv(wDevID) (&mciDrv[MCI_DevIDToIndex(wDevID)])
|
#define MCI_GetDrv(wDevID) (&mciDrv[MCI_DevIDToIndex(wDevID)])
|
||||||
#define MCI_GetOpenDrv(wDevID) (&(MCI_GetDrv(wDevID)->mop))
|
#define MCI_GetOpenDrv(wDevID) (&(MCI_GetDrv(wDevID)->mop))
|
||||||
|
|
||||||
/* function prototypes */
|
/* function prototypes */
|
||||||
|
@ -1094,7 +1094,9 @@ DWORD MCI_Open(DWORD dwParam, LPMCI_OPEN_PARMSA lpParms)
|
|||||||
wDevID, uDevType, lpParms->wDeviceID);
|
wDevID, uDevType, lpParms->wDeviceID);
|
||||||
|
|
||||||
dwRet = MCI_SendCommand(wDevID, MCI_OPEN_DRIVER, dwParam, (DWORD)lpParms);
|
dwRet = MCI_SendCommand(wDevID, MCI_OPEN_DRIVER, dwParam, (DWORD)lpParms);
|
||||||
|
MCI_GetDrv(wDevID)->lpfnYieldProc = 0;
|
||||||
|
MCI_GetDrv(wDevID)->dwYieldData = 0;
|
||||||
|
|
||||||
if (dwRet == 0) {
|
if (dwRet == 0) {
|
||||||
/* only handled devices fall through */
|
/* only handled devices fall through */
|
||||||
TRACE(mci, "wDevID = %04X wDeviceID = %d dwRet = %ld\n", wDevID, lpParms->wDeviceID, dwRet);
|
TRACE(mci, "wDevID = %04X wDeviceID = %d dwRet = %ld\n", wDevID, lpParms->wDeviceID, dwRet);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user