Method

MsgDriveServiceget_drives

Declaration [src]

GList*
msg_drive_service_get_drives (
  MsgDriveService* self,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Queries the Microsoft Graph API for all the drives of the currently logged in user.

Parameters

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: A list of MsgDrive*
 

All drives the user can access.

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