public void SetFileInfo(string folder, string name, CameraFileInfo fileinfo, Context context)
 {
     unsafe
     {
         Error.CheckError(gp_camera_file_set_info(this.Handle, folder, name, fileinfo, context.Handle));
     }
 }
Example #2
0
        public CameraFileInfo GetInfo(string folder, string filename, Context context)
        {
            CameraFileInfo fileinfo = new CameraFileInfo();

            Error.CheckError(gp_filesystem_get_info(this.Handle, folder, filename, out fileinfo, context.Handle));

            return(fileinfo);
        }
        public void SetInfo(string folder, string filename, CameraFileInfo fileinfo, Context context)
        {
            ErrorCode result;

            unsafe
            {
                result = gp_filesystem_set_info(this.Handle, folder, filename, fileinfo, context.Handle);
            }
            if (Error.IsError(result))
            {
                throw Error.ErrorException(result);
            }
        }
        public CameraFileInfo GetInfo(string folder, string filename, Context context)
        {
            ErrorCode      result;
            CameraFileInfo fileinfo = new CameraFileInfo();

            unsafe
            {
                result = gp_filesystem_get_info(this.Handle, folder, filename, out fileinfo, context.Handle);
            }
            if (Error.IsError(result))
            {
                throw Error.ErrorException(result);
            }
            return(fileinfo);
        }
Example #5
0
 private static extern ErrorCode gp_filesystem_set_info(HandleRef fs, [MarshalAs(UnmanagedType.LPTStr)] string folder, [MarshalAs(UnmanagedType.LPTStr)] string filename, CameraFileInfo info, HandleRef context);
Example #6
0
 public void SetInfo(string folder, string filename, CameraFileInfo fileinfo, Context context)
 {
     Error.CheckError(gp_filesystem_set_info(this.Handle, folder, filename, fileinfo, context.Handle));
 }
		public void SetFileInfo (string folder, string name, CameraFileInfo fileinfo, Context context)
		{
			unsafe
			{
				Error.CheckError (gp_camera_file_set_info(this.Handle, folder, name, fileinfo, context.Handle));
			}
		}
		internal static extern ErrorCode gp_camera_file_set_info (HandleRef camera, string folder, string file, CameraFileInfo info, HandleRef context);
		public void SetInfo (string folder, string filename, CameraFileInfo fileinfo, Context context)
		{
			ErrorCode result;
			unsafe
			{
				result = gp_filesystem_set_info (this.Handle, folder, filename, fileinfo, context.Handle);
			}
			if (Error.IsError(result)) throw Error.ErrorException(result);
		}
        public CameraFileInfo GetInfo(string folder, string filename, Context context)
        {
            CameraFileInfo fileinfo = new CameraFileInfo ();

            Error.CheckError(gp_filesystem_get_info  (this.Handle, folder, filename, out fileinfo, context.Handle));

            return fileinfo;
        }
		public CameraFileInfo GetInfo (string folder, string filename, Context context)
		{
			ErrorCode result;
			CameraFileInfo fileinfo = new CameraFileInfo();
			unsafe
			{
				result = gp_filesystem_get_info  (this.Handle, folder, filename, out fileinfo, context.Handle);
			}
			if (Error.IsError(result)) throw Error.ErrorException(result);
			return fileinfo;
		}
Example #12
0
 private static extern ErrorCode gp_camera_file_get_info(HandleRef camera, string folder, string file, out CameraFileInfo info, HandleRef context);
 private static extern ErrorCode gp_filesystem_get_info(HandleRef fs, [MarshalAs (UnmanagedType.LPTStr)] string folder, [MarshalAs (UnmanagedType.LPTStr)] string filename, out CameraFileInfo info, HandleRef context);
 public void SetInfo(string folder, string filename, CameraFileInfo fileinfo, Context context)
 {
     Error.CheckError(gp_filesystem_set_info (this.Handle, folder, filename, fileinfo, context.Handle));
 }
Example #15
0
 internal static extern ErrorCode gp_camera_file_set_info(HandleRef camera, string folder, string file, CameraFileInfo info, HandleRef context);
		internal static extern ErrorCode gp_filesystem_set_info_noop (HandleRef fs, [MarshalAs(UnmanagedType.LPTStr)] string folder, CameraFileInfo info, HandleRef context);
Example #17
0
 private static extern ErrorCode gp_camera_file_get_info(HandleRef camera, string folder, string file, out CameraFileInfo info, HandleRef context);