Ejemplo n.º 1
0
 private bool capSetVideoFormat(IntPtr hCapWnd, ref ClassShowVideo.BITMAPINFO BmpFormat, int CapFormatSize)
 {
     return(ClassShowVideo.SendMessage(hCapWnd, ClassShowVideo.WM_CAP_SET_VIDEOFORMAT, CapFormatSize, ref BmpFormat));
 }
Ejemplo n.º 2
0
 private bool capSetCallbackOnFrame(IntPtr lwnd, ClassShowVideo.FrameEventHandler lpProc)
 {
     return(ClassShowVideo.SendMessage(lwnd, ClassShowVideo.WM_CAP_SET_CALLBACK_FRAME, 0, lpProc));
 }
Ejemplo n.º 3
0
 private bool capPreviewRate(IntPtr lwnd, short wMS)
 {
     return(ClassShowVideo.SendMessage(lwnd, ClassShowVideo.WM_CAP_SET_PREVIEWRATE, wMS, 0));
 }
Ejemplo n.º 4
0
 private bool capPreview(IntPtr lwnd, bool f)
 {
     return(ClassShowVideo.SendMessage(lwnd, ClassShowVideo.WM_CAP_SET_PREVIEW, f, 0));
 }
Ejemplo n.º 5
0
 private bool capDriverDisconnect(IntPtr lwnd)
 {
     return(ClassShowVideo.SendMessage(lwnd, ClassShowVideo.WM_CAP_DRIVER_DISCONNECT, 0, 0));
 }
Ejemplo n.º 6
0
 // private functions
 private bool capDriverConnect(IntPtr lwnd, short i)
 {
     return(ClassShowVideo.SendMessage(lwnd, ClassShowVideo.WM_CAP_DRIVER_CONNECT, i, 0));
 }