MCIWndNew

The MCIWndNew macro creates a new file for the current MCI device. You can use this macro or explicitly send the MCIWNDM_NEW message.

LONG MCIWndNew(
  hwnd,  
  lp     
);

Parameters

hwnd

Handle of the MCIWnd window.

lp

Pointer to a buffer containing the name of the MCI device that will use the file.

Return Values

Returns zero if successful or an error otherwise.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

MCIWNDM_NEW