wmJNI.c
setWmRecByIdx


jint
setWmRecByIdx(
      WmRecord *targetRec,
      jint idx,
      WmRecord *curRec)
Sets the source record(WM_RECORD) to the target record array(WM_RECARRAY) at the specified index.

Parameters:
WmRecord *targetRec - The target record array
jint idx - Specified index to set the record
WmRecord *curRec - The source record.
Returns:
jint - The status of this operation. Success return 1 otherwise return 0.