internal static PropertyInfo QueryPropertyInfoINT(IntPtr device, PXCMCapture.Device.Property label) { PropertyInfo info = new PropertyInfo(); PXCMCapture_Device_QueryPropertyInfo(device, label, info); return(info); }
public bool SetDeviceProperty(PXCMCapture.Device.Property pty, float[] data) { if (!initialized) { return(false); } GCHandle dataHandle = GCHandle.Alloc(data, GCHandleType.Pinned); bool sts = SetDevicePropertyC(instance, pty, data.Length, dataHandle.AddrOfPinnedObject()); dataHandle.Free(); return(sts); }
private static extern bool SetDevicePropertyC(IntPtr pp, PXCMCapture.Device.Property pty, int npty, IntPtr data);
internal static extern pxcmStatus PXCMCapture_Device_SetProperty(IntPtr device, PXCMCapture.Device.Property pty, Single value);
internal static extern pxcmStatus PXCMCapture_Device_SetPropertyAuto(IntPtr device, PXCMCapture.Device.Property pty, [MarshalAs(UnmanagedType.Bool)] Boolean ifauto);
internal static extern pxcmStatus PXCMCapture_Device_QueryPropertyAuto(IntPtr device, PXCMCapture.Device.Property label, out Boolean ifauto);
private static extern pxcmStatus PXCMCapture_Device_QueryPropertyInfo(IntPtr device, PXCMCapture.Device.Property label, [Out] PropertyInfo info);
internal static extern pxcmStatus PXCMCapture_Device_QueryProperty(IntPtr device, PXCMCapture.Device.Property label, out Single value);