Menyambungkan ke Capture Driver
Contoh berikut menyambungkan jendela pengambilan dengan handel hWndC ke driver MSVIDEO lalu memutuskan sambungannya menggunakan makro 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);
Topik terkait