dmParamsSetInt(3dm) dmParamsSetInt(3dm)
dmParamsSetInt, dmParamsSetEnum, dmParamsSetString, dmParamsSetBinary,
dmParamsSetFloat, dmParamsSetFract, dmParamsSetParams - set values in
digital media parameter/value lists
#include <dmedia/dm_params.h>
DMstatus dmParamsSetInt [Toc] [Back]
( DMparams* params,
const char* paramName,
int value )
DMstatus dmParamsSetEnum [Toc] [Back]
( DMparams* params,
const char* paramName,
int value )
DMstatus dmParamsSetString [Toc] [Back]
( DMparams* params,
const char* paramName,
const char* value )
DMstatus dmParamsSetBinary [Toc] [Back]
( DMparams* params,
const char* paramName,
size_t dataSize,
const void* value )
DMstatus dmParamsSetFloat [Toc] [Back]
( DMparams* params,
const char* paramName,
double value )
DMstatus dmParamsSetFract [Toc] [Back]
( DMparams* params,
const char* paramName,
DMfraction value )
DMstatus dmParamsSetParams [Toc] [Back]
( DMparams* params,
const char* paramName,
const Dmparams* value )
These functions all store values in a parameter value list. If there is
already a value in the list with the given name it will be replaced with
the new one. For strings, binary data, parameter lists, and table-ofcontents
entries, a copy is made that is owned by the parameter list.
DM_SUCCESS is returned if the operation succeeded, DM_FAILURE if there
was not enough memory available to hold a copy of the value.
Page 1
dmParamsSetInt(3dm) dmParamsSetInt(3dm)
dmParams(3dm), dmParamsGetInt(3dm), dmParamsGetNumElems(3dm),
dmSetImageDefaults(3dm), dmSetAudioDefaults(3dm).
PPPPaaaaggggeeee 2222 [ Back ]
|