• Welcome to Jose's Read Only Forum 2023.
 

capDriverConnect

Started by Pierre Bellisle, January 09, 2017, 08:33:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pierre Bellisle

Hola José,

Vfw.inc 3.1.07

Pierre


FUNCTION capDriverConnect (BYVAL hwnd AS DWORD, BYVAL i AS LONG) AS LONG
   FUNCTION = SendMessage(hwnd, %WM_CAP_SET_USER_DATA, i, 0)
END FUNCTION



FUNCTION capDriverConnect (BYVAL hwnd AS DWORD, BYVAL i AS LONG) AS LONG
   FUNCTION = SendMessage(hwnd, %WM_CAP_DRIVER_CONNECT, i, 0)
END FUNCTION

José Roca

Thanks Pierre,

Must have copy/pasted the previous one and forgot to change the constant.