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>o=*N;(B ( MS_ABORT
) /
$B@5>o=*N;(B ( MS_EXIT
) / $B6/@)=*N;(B ( MS_TERM
)
$B$N$$$:$l$+$N%a%C%;!<%8$r
reboot |
|
$B%7%9%F%`:F5/F0(B |
|
$B!Z7A<0![(B
W reboot( W mode )
$B!Z%Q%i%a!<%?![(B
W mode $B:F5/F0%b!<%I(B
$B!Z%j%?!<%sCM![(B
$B%(%i!<%3!<%I(B
$B!Z2r@b![(B
$B%7%9%F%`A4BN$r:F5/F0$9$k!#(Bmode=0
$B$N>l9g$O!"(B
$B%Q%M%k$,I=<($5$l$F3+$$$F$$$k%&%#%s%I%&$N99?7(B/$BGQ4~$rA*Br$7!"(B
$B:F5/F0$9$k!#(Bmode=1
$B$N>l9g$OL5>r7o$KGQ4~$7$F=*N;$9$k!#(B
$B@5>o$K:F5/F0$G$-$?>l9g$O8F$S$@$785$K$O%j%?!<%s$7$J$$$,!"(B
$B:F5/F0$K<:GT$7$?>l9g$O%(%i!<%3!<%I$,JV$k!#(B
$B8F$S$@$785%W%m%;%9$N%Q%M%k!&%&%#%s%I%&$,3+$$$F$$$k>uBV$G8F$s$G$O$J$i$J$$(B
( $B8F$s$@>l9g$O%G%C%I%m%C%/$H$J$k(B )$B!#(B
$B$^$?!"(Bmode=0
$B$N>l9g$G!"(B
$B%?%$%`%"%&%H(B / $B5qH]1~Ez$N>l9g$O%(%i!<%3!<%I$H$7$F(B 0 $B$,JV$k!#(B
cre_tagpnl |
|
$B8+=P$7%Q%M%k$N@8@.(B |
|
$B!Z7A<0![(B
ERR cre_tagpnl( ID wid, W ntags, TC *name[], RECT *frame,
RECT *inner, PAT *frpat, PAT *inpat, VOID **tagpnl )
$B!Z%Q%i%a!<%?![(B
ID wid $B%&%#%s%I%&(BID
W ntags $B8+=P$7$N?t(B
TC *name[] $B8+=P$7L>$X$N%]%$%s%?G[Ns(B (NULL $B$OL5;k(B)
RECT *frame $BA4BNNN0h(B
RECT *inner $BFbItNN0h(B
PAT *frpat $B30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