Conectando-se a um Driver de Captura
O exemplo a seguir conecta a janela de captura com o identificador hWndC ao driver MSVIDEO e desconecta-os usando a macro capDriverDisconnect :
fOK = SendMessage (hWndC, WM_CAP_DRIVER_CONNECT, 0, 0L);
//
// Or, use the macro to connect to the MSVIDEO driver:
// fOK = capDriverConnect(hWndC, 0);
//
// Place code to set up and capture video here.
//
capDriverDisconnect (hWndC);
Tópicos relacionados