/// <summary> /// Sets VGA capture parameters. /// </summary> public unsafe bool SetGrabParams(GrabParams aGp) { fixed(V2U_GrabParameters *gp = &aGp.iGp) { return(SetGrabParams(gp)); } }
/// <summary> /// Queries current VGA capture parameters. /// </summary> public unsafe GrabParams GetGrabParams() { GrabParams gp = new GrabParams(); fixed(V2U_GrabParameters *ptr = &gp.iGp) { if (FrmGrab_GetGrabParams(iGrabber, ptr)) { return(gp); } else { return(null); } } }