MCIWndOpenInterface

The MCIWndOpenInterface macro attaches the data stream or file associated with the specified interface to an MCIWnd window. You can use this macro or explicitly send the MCIWNDM_OPENINTERFACE message.

MCIWndOpenInterface(
  hwnd, 
  pUnk  
);

Parameters

hwnd

Handle of the MCIWnd window.

pUnk

Pointer to an IAVI interface that points to a file or a data stream in a 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_OPENINTERFACE