Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
capSetMCIDeviceName
max
min
Collapse the table of content
Expand the table of content

capSetMCIDeviceName macro

The capSetMCIDeviceName macro specifies the name of the MCI video device to be used to capture data. You can use this macro or explicitly call the WM_CAP_SET_MCI_DEVICE message.

Syntax


BOOL capSetMCIDeviceName(
    hwnd,
    szName
);

Parameters

hwnd

Handle to a capture window.

szName

Pointer to a null-terminated string containing the name of the device.

Return value

Returns TRUE if successful or FALSE otherwise.

Remarks

This message stores the MCI device name in an internal structure. It does not open or access the device. The default device name is NULL.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Video Capture
Video Capture Macros

 

 

Community Additions

ADD
Show:
© 2015 Microsoft