Method

PhoshDBusDisplayConfigcall_get_resources_finish

Declaration [src]

gboolean
phosh_dbus_display_config_call_get_resources_finish (
  PhoshDBusDisplayConfig* proxy,
  guint* out_serial,
  GVariant** out_crtcs,
  GVariant** out_outputs,
  GVariant** out_modes,
  gint* out_max_screen_width,
  gint* out_max_screen_height,
  GAsyncResult* res,
  GError** error
)

Description [src]

Finishes an operation started with phosh_dbus_display_config_call_get_resources().

Parameters

out_serial guint*
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
out_crtcs GVariant
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
out_outputs GVariant
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
out_modes GVariant
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
out_max_screen_width gint*
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
out_max_screen_height gint*
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
res GAsyncResult
 

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_dbus_display_config_call_get_resources().

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

Return value

Returns: gboolean
 

TRUE if the call succeeded, FALSE if error is set.