The mciGetYieldProc function retrieves the address of the callback function associated with the "wait" (MCI_WAIT) flag. The callback function is called periodically while an MCI device waits for a command specified with the "wait" flag to finish.
YIELDPROC mciGetYieldProc(
MCIDEVICEID IDDevice,
LPDWORD lpdwYieldData
);
Returns the address of the current yield callback function if successful or NULL if the device identifier is invalid.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.