The WM_CAP_DRIVER_DISCONNECT message disconnects a capture driver from a capture window. You can send this message explicitly or by using the capDriverDisconnect macro.
WM_CAP_DRIVER_DISCONNECT
wParam = (WPARAM) 0;
lParam = 0L;
Returns TRUE if successful or FALSE if the capture window is not connected to a capture driver.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Capture Overview, Video Capture Messages, capDriverDisconnect