Redigera

Dela via


capGetMCIDeviceName macro (vfw.h)

The capGetMCIDeviceName macro retrieves the name of an MCI device previously set with the capSetMCIDeviceName macro. You can use this macro or explicitly call the WM_CAP_GET_MCI_DEVICE message.

Syntax

BOOL capGetMCIDeviceName(
     hwnd,
     szName,
     wSize
);

Parameters

hwnd

Handle to a capture window.

szName

Pointer to a null-terminated string that contains the MCI device name.

wSize

Length, in bytes, of the buffer referenced by szName .

Return value

Type: BOOL

Returns TRUE if successful or FALSE otherwise.

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

Video Capture

Video Capture Macros