MCIWndClose

The MCIWndClose macro closes an MCI device or file associated with an MCIWnd window. Although the MCI device closes, the MCIWnd window is still open and can be associated with another MCI device. You can use this macro or explicitly send the MCI_CLOSE command.

LONG MCIWndClose(
  hwnd  
);

Parameters

hwnd

Handle of the MCIWnd window.

Return Values

Returns zero.

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

MCI_CLOSE