dmBuffer(3dm) dmBuffer(3dm)
dmBufferGetUserData, dmBufferSetUserData - get and set user data for a
buffer
#include <dmedia/dm_buffer.h>
DMstatus dmBufferGetUserData( DMbuffer buffer, u_char *data, int *size )
DMstatus dmBufferSetUserData( DMbuffer buffer, const u_char *data, int size )
dmBufferGetUserData returns size bytes of user data in data. The maximum
size of the user data area of buffer is DM_BUFFER_MAX_AUX_DATA_SIZE. The
size of valid user data is set by dmBufferSetUserData.
dmBufferSetUserData copies size bytes of data pointed to by data into the
user data area of buffer. If size is greater than
DM_BUFFER_MAX_AUX_DATA_SIZE , DM_FAILURE is returned.
dmGetError(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|