Method

ALSASeqEventget_pointer_data

Declaration [src]

gboolean
alsaseq_event_get_pointer_data (
  const ALSASeqEvent* self,
  gconstpointer* data,
  gsize* length,
  GError** error
)

Description [src]

Get the pointer and length in data of event. It has no gurantee that the dereference of pointer is safe in VMA of user process, thus users have to know the purpose of the pointer in advance; e.g. inter-process communication between forked parent and child processes.

Parameters

data gconstpointer*
 

A pointer to user data.

 The argument will be set by the function.
 The argument can be set to NULL.
length gsize*
 

The length of user data.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE when the overall operation finishes successfully, else FALSE.