Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
The following example uses the capPreviewRate macro to set the frame display rate for preview mode to 66 milliseconds per frame and then uses the capPreview macro to place the capture window in preview mode.
// Create the capture window.
HWND hWndC = capCreateCaptureWindow(TEXT("My Capture Window"),
WS_CHILD | WS_VISIBLE, 0, 0, 160, 120, hwndParent, nID);
capPreviewRate(hWndC, 66); // rate, in milliseconds
capPreview(hWndC, TRUE); // starts preview
// Preview
capPreview(hWndC, FALSE); // disables preview
Related topics