예제 #1
0
 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));
     }
 }
예제 #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);
        }
예제 #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);
예제 #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));
 }
예제 #7
0
		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));
			}
		}
예제 #8
0
		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);
		}
예제 #10
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 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;
		}
예제 #12
0
 private static extern ErrorCode gp_camera_file_get_info(HandleRef camera, string folder, string file, out CameraFileInfo info, HandleRef context);
예제 #13
0
 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);
예제 #14
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));
 }
예제 #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);
예제 #17
0
 private static extern ErrorCode gp_camera_file_get_info(HandleRef camera, string folder, string file, out CameraFileInfo info, HandleRef context);