Virtual Method

AravisDevicewrite_memory

Declaration [src]

gboolean
write_memory (
  ArvDevice* device,
  guint64 address,
  guint32 size,
  void* buffer,
  GError** error
)

Description [src]

Writes size bytes to the device memory.

Available since:0.2.0

Parameters

address guint64
 

Memory address.

size guint32
 

Size of the returned buffer.

buffer void*
 

The buffer read from memory.

 The argument can be NULL.
 The called function takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.