wmJNI.c
setWmRec


jint
setWmRec(
      WmRecord *targetRec,
      WmName recName,
      WmRecord *curRec)
Sets the source record(WM_RECORD) to the target record(WM_RECORD) by record name.

Parameters:
WmRecord *targetRec - The target record
WmName recName - Record name
WmRecord *curRec - The source record.
Returns:
jint - The status of this operation. Success return 1 otherwise return 0.