DriveT.stop

Asynchronously stops a drive.

When the operation is finished, @callback will be called. You can then call g_drive_stop_finish() to obtain the result of the operation.

template DriveT(TStruct)
void
stop

Parameters

flags GMountUnmountFlags

flags affecting the unmount if required for stopping.

mountOperation MountOperation

a #GMountOperation or %NULL to avoid user interaction.

cancellable Cancellable

optional #GCancellable object, %NULL to ignore.

callback GAsyncReadyCallback

a #GAsyncReadyCallback, or %NULL.

userData void*

user data to pass to @callback

Meta

Since

2.22