MCIWNDM_GETDEVICE message

The MCIWNDM_GETDEVICE message retrieves the name of the currently open MCI device. You can send this message explicitly or by using the MCIWndGetDevice macro.



MCIWNDM_GETDEVICE 
wParam = (WPARAM) (UINT) len; 
lParam = (LPARAM) (LPVOID) lp; 


Parameters

len

Size, in bytes, of the buffer.

lp

Pointer to an application-defined buffer to return the device name.

Return Value

Returns zero if successful or a nonzero value otherwise.

Remarks

If the null-terminated string containing the device name is longer than the buffer, MCIWnd truncates it.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

 

 

Show: