读取ARRAY资源到字符数组

RESOURCE ARRAY r_hotkey_text_array
{
  items = {
   LBUF { txt = text_play_pause; }
 , LBUF { txt = text_stop; }
 , LBUF { txt = text_volume_down; }
 , LBUF { txt = text_volume_up; }
 , LBUF { txt = text_nextsong; }
 , LBUF { txt = text_previoussong; }
 , LBUF { txt = text_forword; }
 , LBUF { txt = text_rewind; }
 , LBUF { txt = text_page_up; }
 , LBUF { txt = text_page_down; }
 , LBUF { txt = text_sleep_mode; }
 , LBUF { txt = text_play_mode; }
  , LBUF { txt = text_view_switch; }
 , LBUF { txt = text_key_lock; }
 , LBUF { txt = text_song_search; }
 , LBUF { txt = text_rep_ab_set; }
 , LBUF { txt = text_visual_switch; }
 , LBUF { txt = text_visual_full_screen; }
 , LBUF { txt = text_context_menu;     }

  };
}

=======================================================

CDesCArrayFlat* pTitleArray = iCoeEnv->ReadDesCArrayResourceL(R_HOTKEY_TEXT_ARRAY);

你可能感兴趣的:(读取ARRAY资源到字符数组)