Method

MsgDriveServiceget_root

Declaration [src]

MsgDriveItem*
msg_drive_service_get_root (
  MsgDriveService* self,
  MsgDrive* drive,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Get root item of selected drive.

Parameters

drive MsgDrive
 

A MsgDrive.

 The data is owned by the caller of the function.
cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: MsgDriveItem
 

Root ‘MsgDriveItem’

 The caller of the method takes ownership of the data, and is responsible for freeing it.