wmJNI.c
getWmRecByIdx


WmRecord *
getWmRecByIdx(
      WmRecord *curRec,
      jint idx)
Gets the WmRecord(WM_RECORD) from record array by index.

Parameters:
WmRecord *curRec - Input WmRecord structure(WM_RECARRAY).
jint idx - The index of the record in record array.
Returns:
WmRecord * - WmRecord(WM_RECORD) created by this function.