連線到擷取驅動程式
下列範例會將擷取視窗與 控制碼 hWndC 連線到 MSVIDEO 驅動程式,然後使用 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);
相關主題