MCIWndOpenInterface macro

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.

Syntax


LONG 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 value

Returns zero if successful or an error otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

 

 

Show: