Dela via


Ansluta till en fångstdrivrutin

I följande exempel ansluts inspelningsfönstret med referensen hWndC till MSVIDEO-drivrutinen och kopplas sedan från med capDriverDisconnect-makrot.

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); 

Användning av videoinspelning