J
jingtao
Unregistered / Unconfirmed
GUEST, unregistred user!
见VFW单元
function capSetVideoFormat(hwnd:THandle;
s:LongInt;
wSize:Word):LongInt;
begin
Result := SendMessage(hwnd, WM_CAP_SET_VIDEOFORMAT, wSize, s);
end;
比如说我想在程序中指定其分辨率为160X120,象素为I420.应该怎么做?
我不想用
function capDlgVideoFormat(hwnd:THandle):LongInt;
begin
Result := SendMessage(hwnd, WM_CAP_DLG_VIDEOFORMAT, 0, 0);
end;
弹出让用户选择,而是自己在程序中设置.
function capSetVideoFormat(hwnd:THandle;
s:LongInt;
wSize:Word):LongInt;
begin
Result := SendMessage(hwnd, WM_CAP_SET_VIDEOFORMAT, wSize, s);
end;
比如说我想在程序中指定其分辨率为160X120,象素为I420.应该怎么做?
我不想用
function capDlgVideoFormat(hwnd:THandle):LongInt;
begin
Result := SendMessage(hwnd, WM_CAP_DLG_VIDEOFORMAT, 0, 0);
end;
弹出让用户选择,而是自己在程序中设置.