MCIWndDestroy macro (vfw.h)

The MCIWndDestroy macro closes an MCI device or file associated with an MCIWnd window and destroys the window. You can use this macro or explicitly send the WM_CLOSE message.

Syntax

void MCIWndDestroy(
   hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

WM_CLOSE