public static Handle Create (string uri, OpenMode mode, bool exclusive, FilePermissions perm, int priority, AsyncCallback callback) { IntPtr handle = IntPtr.Zero; AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null); gnome_vfs_async_create (out handle, uri, mode, exclusive, (uint)perm, priority, wrapper.NativeDelegate, IntPtr.Zero); return new Handle (handle); }
public static Handle Open (string uri, OpenMode mode, int priority, AsyncCallback callback) { IntPtr handle = IntPtr.Zero; AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null); gnome_vfs_async_open (out handle, uri, mode, priority, wrapper.NativeDelegate, IntPtr.Zero); return new Handle (handle); }
public static Handle Open(string uri, OpenMode mode, int priority, AsyncCallback callback) { IntPtr handle = IntPtr.Zero; AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null); gnome_vfs_async_open(out handle, uri, mode, priority, wrapper.NativeDelegate, IntPtr.Zero); return(new Handle(handle)); }
public static Handle Create(string uri, OpenMode mode, bool exclusive, FilePermissions perm, int priority, AsyncCallback callback) { IntPtr handle = IntPtr.Zero; AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null); gnome_vfs_async_create(out handle, uri, mode, exclusive, (uint)perm, priority, wrapper.NativeDelegate, IntPtr.Zero); return(new Handle(handle)); }
public static void Seek (Handle handle, SeekPosition whence, long offset, AsyncCallback callback) { AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null); gnome_vfs_async_seek (handle.Handle, whence, offset, wrapper.NativeDelegate, IntPtr.Zero); }
public static void Close (Handle handle, AsyncCallback callback) { AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper (callback, null); gnome_vfs_async_close (handle.Handle, wrapper.NativeDelegate, IntPtr.Zero); }
public static void Close(Handle handle, AsyncCallback callback) { AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null); gnome_vfs_async_close(handle.Handle, wrapper.NativeDelegate, IntPtr.Zero); }
public static void Seek(Handle handle, SeekPosition whence, long offset, AsyncCallback callback) { AsyncCallbackWrapper wrapper = new AsyncCallbackWrapper(callback, null); gnome_vfs_async_seek(handle.Handle, whence, offset, wrapper.NativeDelegate, IntPtr.Zero); }