在一臺電腦上 有兩個攝像頭,如何用vb代碼 通過兩個按鈕,呼叫這兩個攝像頭這是呼叫第一個的,呼叫第二個怎么呼叫
uj5u.com熱心網友回復:
沒人,知道嗎?vb沒大神嗎uj5u.com熱心網友回復:
WM_CAP_DRIVER_CONNECTThe WM_CAP_DRIVER_CONNECT message connects a capture window to a capture driver. You can send this message explicitly or by using the capDriverConnect macro.
WM_CAP_DRIVER_CONNECT
wParam = (WPARAM) (iIndex);
lParam = 0L;
Parameters
iIndex
Index of the capture driver. The index can range from 0 through 9.
Return Values
Returns TRUE if successful or FALSE if the specified capture driver cannot be connected to the capture window.
Remarks
Connecting a capture driver to a capture window automatically disconnects any previously connected capture driver.
SendMessage hwnd,WM_CAP_DRIVER_CONNECT,1,0 能改嗎,我用著不正常win7
uj5u.com熱心網友回復:
換DirectShow方式呼叫轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/110977.html
標籤:多媒體
