Пример #1
0
        internal static PropertyInfo QueryPropertyInfoINT(IntPtr device, PXCMCapture.Device.Property label)
        {
            PropertyInfo info = new PropertyInfo();

            PXCMCapture_Device_QueryPropertyInfo(device, label, info);
            return(info);
        }
Пример #2
0
    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);
    }
Пример #3
0
 private static extern bool SetDevicePropertyC(IntPtr pp, PXCMCapture.Device.Property pty, int npty, IntPtr data);
Пример #4
0
 internal static extern pxcmStatus PXCMCapture_Device_SetProperty(IntPtr device, PXCMCapture.Device.Property pty, Single value);
Пример #5
0
 internal static extern pxcmStatus PXCMCapture_Device_SetPropertyAuto(IntPtr device, PXCMCapture.Device.Property pty, [MarshalAs(UnmanagedType.Bool)] Boolean ifauto);
Пример #6
0
 internal static extern pxcmStatus PXCMCapture_Device_QueryPropertyAuto(IntPtr device, PXCMCapture.Device.Property label, out Boolean ifauto);
Пример #7
0
 private static extern pxcmStatus PXCMCapture_Device_QueryPropertyInfo(IntPtr device, PXCMCapture.Device.Property label, [Out] PropertyInfo info);
Пример #8
0
 internal static extern pxcmStatus PXCMCapture_Device_QueryProperty(IntPtr device, PXCMCapture.Device.Property label, out Single value);