UINT WINAPI mciDriverYield(uDeviceID)
This function is used in a driver's idle loop to yield to Windows.
UINT uDeviceID
Device ID that is yielding.
Returns a non-zero value if the driver should abort the operation because the break key was pressed.