MCIWNDM_RETURNSTRING

The MCIWNDM_RETURNSTRING message 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 send this message explicitly or by using the MCIWndReturnString macro.

MCIWNDM_RETURNSTRING 
wParam = (WPARAM) (UINT) len; 
lParam = (LPARAM) (LPVOID) lp; 
 

Parameters

len
Size, in bytes, of the buffer.
lp
Address of an application-defined buffer to contain the null-terminated string.

Return Values

Returns an integer corresponding to the MCI string.

Remarks

If the null-terminated string is longer than the buffer, the string is truncated.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Unicode: Defined as Unicode and ANSI messages.

See Also

MCIWnd Window Class Overview, MCIWnd Messages, MCIWndReturnString