|
UF_ROUTE_ask_characteristics试了很久都用不起来0 Z$ R- b) \$ T6 C( w J# e* V% {
UF_UI_open_listing_window();
& ~: C Y5 M% W8 x6 Y3 v( W UF_ROUTE_ask_part_segs(part,&num_part_segs,&part_segs);3 Z" Y; x* \9 m
for (i=0;i<num_part_segs;i++)8 v% B7 l. B4 l& U
{
/ [- A* r; [% @% ]. z; d fail_code=UF_ROUTE_ask_characteristics(part_segs[i],UF_ROUTE_CHARX_TYPE_ANY,&charx_count,&list);3 R* \, w$ ?5 N; Z% _
UF_get_fail_message(fail_code,message);
. G3 P3 V4 J4 h: I% b uc1601(message,1);. O/ H/ e) N6 g6 O3 v0 M
length=fcvt(charx_count,0,&nDec,&nSign);
+ X; n, ]" \! s0 w; j$ p fail_code=UF_UI_write_listing_window(length);, q7 V* c m, k' u: b; V
UF_get_fail_message(fail_code,message);
2 G7 F s9 k! ^" I8 U uc1601(message,1);
% P4 `; ~* g; x8 t; e UF_UI_write_listing_window("\n");% P6 q# I4 D. Z; `8 o- {
UF_ROUTE_free_charx_array(charx_count,list);
4 U7 S, V" a( {. i O( {7 w! T- e}
, M4 I$ `( \* d! ^除了空白窗口之外什么都没有显示,请大家指教 |
|