|
操作系统:WIN7
, G# _/ N+ [- t$ ~4 g
. v ~4 W8 \: Q* Pug版本:7.5: D5 A! C$ p% u0 B7 F# o/ A
; k/ s4 W( D" v编程平台:VS2008
+ J& ?5 b1 p M7 H7 P- L% U0 x7 r+ U: I6 \" i7 ~; C
8 Y9 T3 G' x, d
- z0 A3 ^ u( q% i/ T
D5 y7 u% l/ M- f" }2 e% u0 I+ \
2 G/ _9 \. v$ _$ R) q% s; }
- l3 I' x7 n$ s
k* ?- L: [2 k( M+ ?, y源代码:) [, `& c/ e5 d- C
# B+ R: u; u( b2 ]0 h#include<uf.h>- g. J% \7 C2 [: q* ~0 z
#include <uf_part_types.h> 1 S3 A( G, A8 w) A- [
2 Q7 K, ]* X9 Q) ^! I0 n
* x5 [, G! l1 A+ i! H& Eextern void ufusr(char *param,int *retcod,int param_len){9 L2 z) S* r: V
# s/ t' N. _2 V4 r, I
tag_t part;
/ g1 k1 ~" m* ^ [2 m y/ Z) |8 y" p4 q' s
const char part_name[]="e:\\123.prt";, G8 R% A, \- q# V5 m
' G3 U2 l: J2 j. q2 G if(UF_initialize()!=0)5 _8 }- l" r" C% E" E
. G# b3 _! {, z$ P4 c
return;
; j4 i6 r- G* y5 g/ j H
" K' ?. {1 {/ b9 Q# c/ t UF_PART_new(part_name,1, &part );
7 l1 e: |2 E& L/ J# m" P+ E2 N$ H0 q( E
UF_terminate();
6 g' U i6 L7 U: W, X( [, t1 ^3 b1 ^/ I" T* B5 g# d2 J
}
7 t0 c( Q+ d: Y5 h Z/ g' B9 p
5 W/ w8 D% z$ W / ?. E7 ~; k) f
, S u# `& j$ \8 U' l6 E* [
/ |3 _( Y# n: a q" D, @
( [ T% C# [& Y! h1 g8 ~ |
|