The MCIWndReturnString macro retrieves the reply to the most recent MCI string command sent to an MCI device. Information in the reply is supplied as a null-terminated string. You can use this macro or explicitly send the MCIWNDM_RETURNSTRING message.
LONG MCIWndReturnString(
hwnd,
lp,
len
);
Returns an integer corresponding to the MCI string.
If the null-terminated string is longer than the buffer, the string is truncated.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
MCIWnd Window Class Overview, MCIWnd Macros, MCIWNDM_RETURNSTRING