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%i%C%0$7$FJQ7A$9$k$?$a$N
$B2>?H$N6-3&@~$NFbIt$O!"(B
$B%O%s%I%k$NItJ,$r=|$$$F%I%i%C%0$7$F0\F0$9$k$?$a$N?H$,A*Br>uBV$N$H$-$O%]%$%s%?$,$=$N>e$K$/$k$H!V0\F0
$B2>?H$NA`:n(B
$B2>?H$KBP$9$kA`:n$H$7$F$O!"0J2<$N$b$N$,$"$2$i$l$k!#(B
$B$3$l$i$NA`:n$O!"%]%$%s%F%#%s%0%G%P%$%9$K$h$j2hLL>e$GD>@\E*$K;X<($5$l$k>l9g$H!"(B
oget_men()
$B$^$?$O(B oget_vmn()
$B$K$h$C$FF@$i$l$k!V2>?H(B ( / $Bl9g$,$"$k!#(B
| | $B%a%K%e!<9`L\(B |
(1) | $B2>?H$NA*Br(B | ---- |
(2) | $B2>?H$N@ZCG(B | $B@Z$jN%$7(B |
(3) | $B2>?H$N0\F0(B / $BJ#---- | |
(4) | $B2>?H$NJQ7A(B | ---- |
(5) | $B2>?H$r3+$/(B | $B3+$/(B |
(6) | $B2>?H$rJD$8$k(B | $BJD$8$k(B |
(7) | $B$NJQ99(B | $BJQ99(B |
(8) | $BB3JA$NJQ99(B | $BB3JAJQ99(B |
(9) | $B?7HG:n@.(B | $B?7HG:n@.(B($B$^$?$O |
(10) | $BpJs$NI=<((B | $B4IM}>pJs(B |
(11) | $B2>?H$r%&%#%s%I%&$K3+$/(B | ($B |
(12) | $B%G%P%$%9$N:F%U%)!<%^%C%H(B | $B%U%)!<%^%C%H(B |
(13) | $B2>?H$NB0@-$NJQ99(B | $BB0@-JQ99(B |
(14) | $B%"%W%j%1!<%7%g%s$NEPO?(B / $B:o=|(B | $B%"%W%jEPO?(B / $B:o=|(B |
(15) | $B%H%l!<$+$i$N%G!<%?E=$j9~$_(B | $B%H%l!<$+$i=q9~$_(B |
(16) | $B2>?H$N@\B3(B | $B@\B3(B |
(17) | $B%G%#%9%/>uBV$NI=<((B | $B>uBVI=<((B |
(18) | $B%G%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%9$K$h$j!"(B
$BB3JAL>$NI=<(!"$*$h$S2>?HFb$G$NB3JAL>$NI=<(%+%i!<$,Dj5A$5$l$k!#(B
$B2>?H%;%0%a%s%H(B
$B2>?H<+BN$O(B VLINK
$B9=B$BN$K$h$jI=$o$5$l$k$,!"(B
$B2>?H$rVLINK
$B9=B$BN$HBP$K$J$k!V2>?H%;%0%a%s%H!W$,I,MW$H$J$k!#(B
$B2>?H%;%0%a%s%H$O0J2<$K<($9%G!<%?9=B$$r;}$D!#(B
typedef struct {
RECT view; /* $BI=<(NN0h(B */
H height; /* $B3+$$$?>l9g$N9b$5(B */
CHSIZE chsz; /* $BJ8;z%5%$%:(B */
COLOR frcol; /* $BOH$N?'(B */
COLOR chcol; /* $BJ8;z?'(B */
COLOR tbcol; /* $B%?%$%H%kGX7J?'(B */
COLOR bgcol; /* $B3+$$$?>l9g$NGX7J?'(B */
UH dlen; /* $B8GM-%G!<%?$N%P%$%HD9(B */
/* dlen $B%P%$%H$N8GM-%G!<%?$,B3$/(B */
} VOBJSEG;
view
:
$B2>?H$N
chsz
:
$B2>?H$NJ8;z%5%$%:$r<($90J2<$NCM!#(B
UUSS SSSS SSSS SSSS
U
:
- $BC10L;XDj(B
- 0:
- $B%T%/%;%kC10L(B
- 1:
- 1/20 $B5i(B(1/80 mm)$BC10L(B
- 2:
- 1/20 $B%]%$%s%H(B(1/1440 inch)$BC10L(B
- 3:
- $BM=Ls(B
S
:
U
$B$G;XDj$5$l$?C10L$G$NJ8;z%5%$%:;XDj!#(B
0 $B$N>l9g$O!"?H%^%M!<%8%c$G5,Dj$9$k%G%U%)!<%k%HJ8;z%5%$%:$r0UL#$9$k!#(B
height
:
$B2>?H$r3+$$$?>l9g$N%G%U%)!<%k%H$N2>?H$N9b$5$r%&%#%s%I%&(B / $B%Q%M%k$N:BI87O$G<($9!#(B
< 0 $B$N>l9g$O!"(B
$B$=$N2>?H$O3+$1$J$$$3$H$r<($9!#(B
$B$^$?(B 0 $B$N>l9g$O?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>?H(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $B%l%3!<%IHV9f(B/$BIUd5%G!<%?%]%$%s%?(B */
RECT r; /* $B@[email protected](B */
COLOR bgcol; /* $B85$N2>?H$NGX7J?'(B */
W mode; /* $B5/F0%b!<%I(B */
} M_EXECREQ;
size
$B$O%a%C%;!<%8K\BN$N%P%$%H%5%$%:$G$"$j!"(B
$B%a%C%;!<%8A4BN$N%P%$%H%5%$%:(B - sizeof(W) * 2
$B$NCM$H$J$k!#(B
self
$B$O!"5/F0$5$l$?%"%W%j%1!<%7%g%s%W%m%0%i%`<+BN$N%j%s%/$H$J$k!#(B
LINK
$B9=B$BN$N(B atr3 $B!A(B atr5
$B$K$O!"(B
$B5/F0$NBP>]$H$J$C$?%"%W%j%1!<%7%g%s(B ID $B$,%;%C%H$5$l$F$$$k!#(B
lnk
$B$O!"5/F0$NBP>]$H$J$C$?2>?H$N;2>H$9$k.J*%"%W%j%1!<%7%g%s$N>l9g$O!"(B
$B!V>.J*F~$l!W%U%!%$%k$X$N%j%s%/$H$J$k!#(B
vid
$B$O!"(B
$B2>?H$N%*!<%W%s5/F0$N>l9g!"(B
$BBP>]2>?H(B ( $B@[email protected]$N2>?H(B ) $B$N2>?H(B ID $B$G$"$j!"(B
$B>.J*%"%W%j%1!<%7%g%s$N5/F0$N>l9g!"(B
$B?H%^%M!<%8%c$GFbItE*$K4IM}$7$F$$$k(B ID
($BBP1~$9$k>.J*%a%K%e!<$N9`L\HV9f$H(B 0x4000
$B$H$N(B OR $B$r$H$C$?$b$N(B ) $B$,3JG<$5$l$k!#(B
$B=i4|5/F0$N$H$-$O!"(Bvid = 0
$B$H$J$k!#(B
pwid
$B$O!"5/F0$NBP>]$H$J$C$?2>?H$,EPO?$5$l$F$$$k%&%#%s%I%&(B ID $B$G$"$j!"(B
$B>.J*%"%W%j%1!<%7%g%s$N>l9g$O(B 0 $B$H$J$k!#(B
info
$B$O!"?H%^%M!<%8%c$G4IM}$7$F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$=$N8e!"%W%m%;%9$r=*N;(B (ext_prc())
$B$9$k$3$H$K$J$k!#(B
$B%G!<%?E=$j9~$_5/F0(B
$B%G!<%?E=$j9~$_5/F0$G$O!"5/F0$7$?%W%m%;%9$KBP$7$F!"(B
$B0J2<$N5/F0%a%C%;!<%8$,EO$5$l$k$N$G!"(B
$B5/F0$5$l$?%W%m%;%9$O5/F0%a%C%;!<%8$K=>$C$F!"(B
$B%H%l!<$K3JG<$5$l$?%G!<%?$NBP>]
typedef struct {
W type; /* = PASTEREQ (= 0x12) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
LINK lnk; /* $BBP>]%U%!%$%k(B */
W vid; /* $BBP>]2>?H(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $BIUd5%G!<%?%]%$%s%?(B */
} M_PASTEREQ;
$B$3$N5/F0$O!"?H%^%M!<%8%c$N(B
oput_dat()
$B4X?t$K$h$k2>?H$X$N%G!<%?E=$j9~$_MW5a$K$h$jH/@8$9$k5/F0$G$"$j!"(B
$B5/F0$5$l$?%W%m%;%9$O!"E=$j9~$_=hM}$r9T$J$C$?8e!"I,$:!"(Boend_req()
$B$K$h$j!"(B
$B=hM}$N@5>o=*N;!"(B
$B$^$?$O0[>o=*N;$rDLCN$7$J$/$F$O$$$1$J$$!#(B
$BDL>o$O$=$N8e!"%W%m%;%9$r=*N;(B ( ext_prc() ) $B$9$k$3$H$K$J$k!#(B
$BIUd5$N%*!<%W%s5/F0(B
$BIUd5$N%*!<%W%s5/F0$G$O!"5/F0$7$?%W%m%;%9$KBP$7$F!"(B
$B0J2<$N5/F0%a%C%;!<%8$,EO$5$l$k$N$G!"(B
$B5/F0$5$l$?%W%m%;%9$O5/F0%a%C%;!<%8$K=>$C$F%"%W%j%1!<%7%g%s$H$7$F$N=hM}$r9T$J$&$3$H$K$J$k!#(B
typedef struct {
W type; /* = FUSENREQ (= 0x13) */
W size; /* $B%a%C%;!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(B
$B%;%C%F%#%s%0%Q%M%k$r3+$-!"(B
$B%f!<%6$+$i$N3F
$B%Q%i%a!<%?$N@_Dj$,9T$J$o$l$?>l9g$O!"(B
oend_prc()
$B$K$h$j!"(B
$BIUd58GM-%G!<%?$N99?7$r9T$J$&!#(B
$B!Vl9g$O!"(B
oreq_prc()
$B$K$h$j!"(B
$B5/F085$N%W%m%;%9$KBP$7$F!"(B
$B8=:_$NJT=87k2L$r0l;~%U%!%$%k$H$9$k$3$H$rMW5a$9$k!#(B
$B$3$N1~Ez$K$h$jF@$i$l$?0l;~%U%!%$%k$rBP>]$H$7$F!Vo$O!"1~Ez$,F@$i$l$?;~E@$G%Q%M%k$r%/%m!<%:$9$k$,!"%W%m%;%9$O$^$@=*N;$7$J$$!#(B
$B!Vl9g$O!"(B
$B%Q%M%k$r%/%m!<%:$7%W%m%;%9$r=*N;$9$k!#(B
$B3+$$$?2>?H$N(B TAD $B%G!<%?:[email protected]/F0(B
$B;XDj$5$l$?3+$$$?2>?H$NI=<(%(%j%"Fb$NI=<($KAjEv$9$k(B TAD $B%G!<%?$r:n@.$7!"(B
$B%G!<%?:[email protected];8e$K=*N;$9$k!#(B
$B3+$$$?2>?H$N(B TAD $B%G!<%?:[email protected]/F0$G$O!"(B
$B5/F0$7$?%W%m%;%9$KBP$7$F!"(B
$B0J2<$N5/F0%a%C%;!<%8$,EO$5$l$k$N$G!"(B
$B5/F0$5$l$?%W%m%;%9$O5/F0%a%C%;!<%8$K$7$?$,$C$F!"(B
$B3+$$$?2>?H$NI=<(%(%j%"$NI=<($KAjEv$9$k(B TAD $B%G!<%?$r:n@.$7!"(B
$BJ]B8@h%U%!%$%k$K3JG<$9$k!#(B
<$B3+$$$?2>?H$N(B TAD $B%G!<%?:[email protected]/F0%a%C%;!<%8(B>
typedef struct {
W type; /* = TADREQ (= 0x14) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
LINK lnk; /* $BBP>]%U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(B
$B$=$N2>?H$N>pJs$r?H$O85$N2>?H$N>e$^$?$O2<$K0LCV$7$F$$$k$,!"(B
$BI,MW$K1~$8$F0LCV$r0\F0$7$F$b$h$$!#(B
128 $B0J>e$NMW5a$O!"(Boreq_prc()
$B$K$h$jAw?.$5$l$?2>?HMW5a%$%Y%s%H$G$"$j!"(B
$B$3$l$rl9g$O!"I,$:(B orsp_prc()
$B$K$h$j!"1~Ez$rLa$5$J$/$F$O$$$1$J$$!#(B
128 $B$O!"JT=8FbMF$N0l;~%U%!%$%k$X$N3JG
$B""(B $B2>?H(BID
typedef W VID; /* $B2>?H(B ID */
$B""(B $B%"%W%j%1!<%7%g%s5/F0%a%C%;!<%8(B
#define EXECREQ 0x10
#define DISPREQ 0x11
#define PASTEREQ 0x12
#define FUSENREQ 0x13
#define TADREQ 0x14
$B""(B $B2>?H$N%*!<%W%s5/F0%a%C%;!<%8(B
typedef struct {
W type; /* = EXECREQ (= 0x10) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
LINK lnk; /* $BBP>]%U%!%$%k(B */
W vid; /* $BBP>]2>?H(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $B%l%3!<%IHV9f(B / $BIUd5%G!<%?%]%$%s%?(B */
RECT r; /* $B@[email protected](B */
COLOR bgcol; /* $B85$N2>?H$NGX7J?'(B */
W mode; /* $B5/F0%b!<%I(B */
} M_EXECREQ;
$B""(B $B3+$$$?2>?H$NI=<(5/F0%a%C%;!<%8(B
typedef struct {
W type; /* = DISPREQ (= 0x11) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
LINK lnk; /* $BBP>]%U%!%$%k(B */
W vid; /* $BBP>]2>?H(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $BIUd5%G!<%?%]%$%s%?(B */
COLOR bgcol; /* $B85$N2>?H$NGX7J?'(B */
W gid; /* $BIA2h4D6-(B ID */
} M_DISPREQ;
$B""(B $B%G!<%?E=$j9~$_5/F0%a%C%;!<%8(B
typedef struct {
W type; /* = PASTEREQ (= 0x12) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
LINK lnk; /* $BBP>]%U%!%$%k(B */
W vid; /* $BBP>]2>?H(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $BIUd5%G!<%?%]%$%s%?(B */
} M_PASTEREQ;
$B""(B $BIUd5$N%*!<%W%s5/F0%a%C%;!<%8(B
typedef struct {
W type; /* = FUSENREQ (= 0x13) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
W vid; /* $BBP>]IUd5(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $BIUd5%G!<%?%]%$%s%?(B */
RECT r; /* $B@[email protected](B */
} M_FUSENREQ;
$B""(B $B3+$$$?2>?H$N(BTAD$B%G!<%?:[email protected]/F0%a%C%;!<%8(B
typedef struct {
W type; /* = TADREQ (= 0x14) */
W size; /* $B%a%C%;!<%8K\BN%5%$%:(B */
LINK self; /* $B5/F0%U%!%$%k(B */
LINK lnk; /* $BBP>]%U%!%$%k(B */
W vid; /* $BBP>]2>?H(B ID */
W pwid; /* $B?F%&%#%s%I%&(B ID */
W info; /* $BIUd5%G!<%?%]%$%s%?(B */
COLOR bgcol; /* $B85$N2>?H$NGX7J?'(B */
LINK save; /* TAD$B$NJ]B8@h%U%!%$%k(B */
RECT r; /* $BI=<(NN0h(B */
} M_TADREQ;
$B""(B $B?H%^%M!]%8%c$NDj5A(B
#define FSNM_LEN 40 /* $B%U%!%$%k%7%9%F%`L>$N%P%$%HD9(B */
#define RELNM_LEN 32 /* $BB3JAL>$N%P%$%HD9(B */
#define DTYPE_LEN 32 /* $B%G!<%?%?%$%WL>$N%P%$%HD9(B */
typedef union {
VOBJSEG *vobj; /* $B2>?H%;%0%a%s%H(B */
FUSENSEG *fsn; /* $BIUd5%;%0%a%s%H(B */
} VFPTR;
$B""(B $B2>?H(B
typedef struct {
TC fs_name[20]; /* $B%U%!%$%k%7%9%F%`L>(B */
UH f_id; /* $B%U%!%$%k(B ID */
UH attr; /* $B2>?H%?%$%W!?B0@-(B */
UH rel; /* $BB3JA%$%s%G%C%/%9(B */
UH appl[3]; /* $B%"%W%j%1!<%7%g%s(B ID */
} VLINK;
$B""(B $BB3JA%G!<%?(B
typedef struct {
TC name[16]; /* $BB3JAL>(B */
COLOR col; /* $BB3JAL>$N?'(B */
} VOBJREL;
$B""(B $B2>?H$NI=<(%b!<%I(B
#define V_NODISP 0 /* $BI=<($7$J$$(B */
#define V_ERASE 0 /* $B>C5n$9$k(B */
#define V_DISP 1 /* $BI=<(%(%j%"%/%j%"(B */
#define V_DISPALL 2 /* $BI=<(%(%j%"I=<((B */
#define V_DISPAREA 3 /* $BI=<(%(%j%"$N$_I=<((B */
#define V_ERAORG 4 /* $B85$r>C5n$9$k(B */
#define V_NOFRAME 8 /* $B6-3&@~$J$7(B */
$B""(B $B2>?H$N0LCV%3!<%I(B
#define V_WORK 0 /* $BI=<(%(%j%"Fb(B */
#define V_FRAM 1 /* $B2>?HOH(B */
#define V_PICT 2 /* $B%T%/%H%0%i%`(B */
#define V_NAME 3 /* $B(B */
#define V_LTHD 4 /* $B%O%s%I%k(B ($B:8>e(B) */
#define V_RTHD 5 /* $B%O%s%I%k(B ($B1&>e(B) */
#define V_LBHD 6 /* $B%O%s%I%k(B ($B:82<(B) */
#define V_RBHD 7 /* $B%O%s%I%k(B ($B1&2<(B) */
#define V_RELN 8 /* $BB3JA(B */
$B""(B $B2>?H$NJQ7A;XDj(B
#define V_CHECK 0 /* $BBg$-$5$N%A%'%C%/(B */
#define V_SIZE 0x10 /* $BJQ7A$9$k(B */
#define V_OPEN 0x20 /* $B2>?H$r3+$/(B */
#define V_CLOSE 0x30 /* $B2>?H$rJD$8$k(B */
#define V_ADJUST 0x40 /* $BA4BNI=<($ND9$5(B */
#define V_ADJUST1 0x50 /* $BL>A0I=<($ND9$5(B */
#define V_ADJUST2 0x60 /* $BB3JA$^$GI=<($ND9$5(B */
#define V_ADJUST3 0x70 /* $BF|IU0J30I=<($ND9$5(B */
$B""(B $B2>?H$NB0@-!?>uBV(B
#define V_NONAME 0x0001 /* $B$NI=<($J$7(B */
#define V_NORELN 0x0002 /* $BB3JAL>$NI=<($J$7(B */
#define V_NOTYPE 0x0004 /* $B%G!<%?%?%$%W$NI=<($J$7(B */
#define V_NOTIME 0x0008 /* $BJQ99F|;~$NI=<($J$7(B */
#define V_FIXDEF 0x0010 /* $B8GDj%G%U%)!<%k%H%"%W%j(B */
#define V_NOIMG 0x0020 /* $B%$%a!<%8J]B8$J$7(B */
#define V_NOPICT 0x0040 /* $B%T%/%H%0%i%`I=<($J$7(B */
#define V_NOFDISP 0x0080 /* $B2>?HOHI=<($J$7(B */
#define V_OPENED 0x0100 /* $B%*!<%W%s2>?H(B */
#define V_NOEXPND 0x0200 /* $B0u:~;~E83+$J$7(B */
#define V_LINKFL 0x0800 /* $B%j%s%/%U%!%$%k(B */
#define V_DETACH 0x1000 /* $B5u?H>uBV(B */
#define V_INPROC 0x2000 /* $B=hM}Cf>uBV(B */
#define V_AUTEXE 0x4000 /* $B<+F05/F0(B */
#define V_HIDDEN 0x8000 /* $B1#JC2>?H(B */
#define V_GETSTS 0x8000 /* $B8=:_$N>uBV$NH>uBV$N%A%'%C%/(B */
#define V_CHKDUP 0x9999 /* $B=EJ#>uBV$N%A%'%C%/(B */
#define F_NONAME 0x0800 /* $BIUd5L>$NI=<($J$7(B */
#define F_NOTYPE 0x0400 /* $B%G!<%?%?%$%W$NI=<($J$7(B */
#define F_HIDDEN 0x8000 /* $B1#JCIUd5(B */
$B""(B $B2>?H%a%K%e!<$NA`:n%?%$%W(B
#define VM_NONE 0 /* $B2?$bJQ99$5$l$J$+$C$?(B */
#define VM_OPEN 1 /* $B2>?H$,3+$+$l$?(B */
#define VM_CLOSE 2 /* $B2>?H$,JD$8$i$l$?(B */
#define VM_NAME 3 /* $B$,JQ99$5$l$?(B */
#define VM_RELN 4 /* $BB3JA$,JQ99$5$l$?(B */
#define VM_NEW 5 /* $B?7HG$,:n@.$5$l$?(B */
#define VM_DETACH 6 /* $B@ZCG>uBV$H$J$C$?(B */
#define VM_DISP 7 /* $B2>?H$NI=<(B0@-$,JQ99$5$l$?(B */
#define VM_REFMT 8 /* $B:F%U%)!<%^%C%H$5$l$?(B */
#define VM_PASTE 9 /* $B2>?H$XKd$a9~$^$l$?(B */
#define VM_EXREQ 10 /* $BIUd55/F0$,MW5a$5$l$?(B */
#define VM_ATTACH 11 /* $B@\B3>uBV$H$J$C$?(B */
#define VM_APLREG 12 /* $B%"%W%jEPO?$5$l$?(B */
#define VM_APLDEL 13 /* $B%"%W%jEPO?$,:o=|$5$l$?(B */
#define VM_INFO 14 /* $B4IM}>pJs$,I=<($5$l$?(B */
#define VM_DISK 15 /* $B%G%#%9%/>uBV$,I=<($5$l$?(B */
#define VM_GABAGE 16 /* $B%G%#%9%/@0M}$,5/F0$5$l$?(B */
$B""(B $BA*BrOHNN0h(B
/* $BA*BrOHNN0h(B */
typedef struct {
UW sts; /* $B>uBV(B */
union {
POLY p; /* $BB?3Q7AA*BrNN0h(B */
RECT r; /* $BD9J}7AA*BrNN0h(B */
} rgn;
} SEL_RGN;
#define SEL_POLYRGN 0x4000 /* $BB?3Q7AA*BrNN0h(B */
$B""(B $BA*BrOHNN0h%j%9%H(B
typedef struct sel_list {
struct sel_list *next; /* $B
$B$3$3$G$O!"?H%^%M!<%8%c$,%5%]!<%H$7$F$$$k3F4X?t$N>\:Y$r@bL@$9$k!#(B
$B$3$l$i$N4X?t72$O303L$N3HD%%7%9%F%`%3!<%k$H$7$FDs6!$5$l$k!#(B
$B4X?tCM$O!"2?$i$+$N%(%i!<$,$"$C$?>l9g$O!VIi!W$N%(%i!<%3!<%I$,La$k!#(B
$B@5>o=*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>$C$F!"(Bvid > 0
$B$N>l9g$O>o$K(B "1" $B$H$J$k!#(B
vid< 0
$B$N>l9g$O!"(B
$B;XDj$7$?%&%#%s%I%&(B / $B%Q%M%k$K2>?H$,(B 1 $B$D$bEPO?$5$l$F$$$J$$>l9g$O2?$b$;$:!"(B
$B4X?tCM(B "0" $B$,La$k!#(B
$B$3$N>l9g!"%&%#%s%I%&(B / $B%Q%M%k$,vid = 0x8000 $B$N>l9g$O!"(B
$B4X?tCM$O>o$K(B "0" $B$H$J$k!#(B
$BIUd5$N>l9g$O!"(BV_DISP
$B!A(B V_DISPAREA
$B$O!"$9$Y$FF10l$N0UL#$H$J$k!#(B
$B!Z%(%i!<%3!<%I![(B
EX_ADR : $B%"%I%l%9(B(r)$B$N%"%/%;%9$O5v$5$l$F$$$J$$!#(B
EX_PAR : $B%Q%i%a!<%?$,IT@5$G$"$k(B(disp $B$,IT@5(B)$B!#(B
EX_VID : $B2>?H(B ID (vid)$B$OB8:_$7$F$$$J$$!#(B
EX_WID : $B%&%#%s%I%&(B(wid)$B$OB8:_$7$F$$$J$$(B(vid < 0 $B$N$H$-$N$_(B)$B!#(B
odsp_vor |
|
$B2>?H$NG\N(I=<((B |
|
$B!Z7A<0![(B
W odsp_vor(W vid, RECT *r, UW disp, PNT scal)
$B!Z%Q%i%a!<%?![(B
W vid $B!f(B 0 : $B2>?H(B ID
$B!a(B 0x8000 : $B2>?H%j%9%H;XDj(B
$B!c(B 0 : - ($B%&%#%s%I%&(B ID)
RECT *r $BI=<(NN0h(B ($B2>?H%j%9%H;XDj$N$H$-$O!"2>?H%j%9%H$X$N%]%$%s%?(B)
UW disp $B2>?H$NI=<(J}K!(B (odsp_vob $B$HF1$8(B)
::= (V_ERASE $B!B(B V_DISP $B!B(B V_DISPALL $B!B(B V_DISPAREA) | [V_NOFRAME]
PNT scal $BI=<(G\N((B
$B!Z%j%?!<%sCM![(B
$B!f(B0 $B@5>o(B ($B=hM}$7$?2>?H$N?t(B)
$B!c(B0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#(B
$B2>?H$NI=<($O!"$=$N;~E@$N2>?H$N>uBV(B($B5u?H>uBVEy(B)$B$K1~$8$F9T$J$o$l$k!#(B
disp
$B$K$h$j!"2>?H$N6-3&@~$NM-L5!"$*$h$SI=<(!?>C5nJ}K!$r;XDj$9$k!#(B
vlnk = NULL
$B$N>l9g$O!"IUd5$N0l;~E*I=<($H$J$j!"(B
vseg
$B$O(B FUSENSEG
$B$X$N%]%$%s%?$H$J$k!#(B
$B$3$N>l9g!"(BV_DISP
$B!A(B V_DISPAREA
$B$O!"(B
$B$9$Y$FF10l$N0UL#$H$J$k!#(B
$B!Z%(%i!<%3!<%I![(B
EX_ADR : $B%"%I%l%9(B(vlnk,vseg)$B$N%"%/%;%9$O5v$5$l$F$$$J$$!#(B
EX_NOSPC : $B%7%9%F%`$N%a%b%jNN0h$,ITB-$7$?!#(B
EX_PAR : $B%Q%i%a!<%?$,IT@5$G$"$k(B(disp,vseg $B$NFbMF$,IT@5(B)$B!#(B
EX_WID : $B%&%#%s%I%&(B(wid)$B$OB8:_$7$F$$$J$$!#(B
odra_vor |
|
$B2>?H$N0l;~E*G\N(I=<((B |
|
$B!Z7A<0![(B
ERR odra_vor(VLINK *vlnk, VP vseg, W wid, UW disp, PNT scal)
$B!Z%Q%i%a!<%?![(B
VLINK *vlnk $B2>?H(B($B%j%s%/(B)
$B!a(B NULL : $BIUd5(B
VP vseg $B2>?H%;%0%a%s%H(B/$BIUd5%;%0%a%s%H(B
W wid $B!f(B 0 : $B%&%#%s%I%&(B ID
$B!c(B 0 : - ($BIA2h4D6-(B ID)
UW disp $B2>?H$NI=<(J}K!(B (odsp_vob $B$HF1$8(B)
::= (V_ERASE $B!B(B V_DISP $B!B(B V_DISPALL $B!B(B V_DISPAREA) | [V_NOFRAME]
PNT scal $BI=<(G\N((B
$B!Z%j%?!<%sCM![(B
$B!a(B0 $B@5>o(B
$B!c(B0 $B%(%i!<(B ($B%(%i!<%3!<%I(B)
$B!Z2r@b![(B
$B2>?H$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mode $B>uBVJQ99%b!<%I(B
::= V_GETSTS $B!B(B V_PURGE $B!B(B V_CHKREF $B!B(B V_CHKDUP $B!B(B
(V_NONAME | V_NORELN | V_NOTYPE | V_NOTIME |
V_FIXDEF | V_NOIMG | V_NOPICT | V_NOFDISP |
V_NOEXPND | V_AUTEXE)
V_GETSTS 0x8000
$BJQ99$;$:$K8=:_$N>uBV$r
V_PURGE 0xFFFF
$BJ]B8$5$l$F$$$k3+$$$?2>?H$NI=<(%$%a!<%8$rGQ4~$7!"(B
$B0J8e$NI=<(;~$K$OI,$:BP1~$9$k%"%W%j%1!<%7%g%s$r5/F0$9$k$h$&$K$9$k!#(B
V_CHKREF 0x8888
vid
$B$G;XDj$7$?2>?H$N;2>H$9$kl9g$O;2>H@h$N$N2>?H$+$i$b;2>H$5$l$F$$$k$+H]$+$r%A%'%C%/$9$k!#(B
V_CHKDUP 0x9999
vid
$B$G;XDj$7$?2>?H$N;2>H$9$k%U%!%$%k(B
( $B%j%s%/%U%!%$%k$N>l9g$O%j%s%/%U%!%$%k$=$N$b$N(B )
$B$,B>$N2>?H$+$i$b;2>H$5$l$F$$$k$+H]$+$r%A%'%C%/$9$k!#(B
$B$^$?$O!"0J2<$NAH$_9g$o$;$G;XDj$7$?B0@-$KJQ99$9$k!#(B
V_NONAME | 0x0001 | -- $B$NI=<($J$7(B |
V_NORELN | 0x0002 | -- $BB3JAL>$NI=<($J$7(B |
V_NOTYPE | 0x0004 | -- $B%G!<%?%?%$%W$NI=<($J$7(B |
V_NOTIME | 0x0008 | -- $BJQ99F|;~$NI=<($J$7(B |
V_FIXDEF | 0x0010 | -- $B8GDj%G%U%)%k%H%"%W%j(B |
V_NOIMG | 0x0020 | -- $B%$%a!<%8J]B8$J$7(B |
V_NOPICT | 0x0040 | -- $B%T%/%H%0%i%`I=<($J$7(B |
V_NOFDISP | 0x0080 | -- $B2>?HOHI=<($J$7(B |
V_NOEXPND | 0x0200 | -- $B0u:~;~E83+$J$7(B |
V_AUTEXE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$B$NCM$K$h$j0J2<$N0UL#$r;}$D!#(B
item > 0x100
oget_men(), oget_vmn()
$B$G
item
$B$N2<0L%P%$%H$OIUd5A`:n%a%K%e!<$N;R9`L\HV9f(B
item $B!f(B 0
oget_men()
$B$G?HA`:n%a%K%e!<(B
item
$B$O2>?HA`:n%a%K%e!<$N;R9`L\HV9f(B
item < 0
oget_vmn()
$B$G?H(B / $B
N :
- N $B$O2>?HA`:n%a%K%e!<$N;R9`L\HV9f(B
(0x100 + N):
- N $B$O
(0x200 + N):
- N $B$O%G%#%9%/A`:n%a%K%e!<$N;R9`L\HV9f(B
vid
$B!e(B 0 $B$N>l9g$O!"J#?t$N2>?H$KBP$9$kA`:n$r0UL#$7!"(B
buf
$B$G;XDj$7$?NN0h$K$O!"(B
$BA`:n$NBP>]$H$J$k2>?H(B ID
$B$NG[Ns$,F~$k!#(B
$BG[Ns$N:G8e$O(B "0" $B$G=*$o$C$F$$$J$/$F$O$$$1$J$$!#(B
$B4X?tCM$H$7$FA`:n$N?H(B / $BIUd5A`:n%a%K%e!<$N9`L\HV9f$H$OL54X78$G$"$k!#(B
$B$^$?!"(Bbuf
$B$G;XDj$7$?NN0h$K$O!"A`:n$KBP1~$7$?>pJs$,La$5$l$k!#(B
$B4X?tCM(B | buf $B$NFbMF(B |
VM_NONE ( 0) | : $B2?$bJQ99$5$l$J$+$C$?(B | $B!](B |
VM_OPEN ( 1) | : $B2>?H$,3+$+$l$?(B | $B?7$7$$2>?HNN0h(B ( RECT ) |
VM_CLOSE ( 2) | : $B2>?H$,JD$8$i$l$?(B | $B?7$7$$2>?HNN0h(B ( RECT ) |
VM_NAME ( 3) | : $B$,JQ99$5$l$?(B | $B!](B |
VM_RELN ( 4) | : $BB3JA$,JQ99$5$l$?(B | $B?7$7$$B3JA%$%s%G%C%/%9(B |
VM_NEW ( 5) | : $B?7HG$,:n@.$5$l$?(B | $B?7HG$r;2>H$9$k2>?H(B ID |
VM_DETACH( 6) | : $B@ZCG>uBV$H$J$C$?(B | $B!](B |
VM_DISP ( 7) | : $BI=<(B0@-$,JQ99$5$l$?(B | $B?7$7$$2>?HNN0h(B ( RECT ) |
VM_REFMT ( 8) | : $B:F%U%)!<%^%C%H$5$l$?(B | $B!](B |
VM_PASTE ( 9) | : $B2>?H$XKd9~$^$l$?(B | $B%"%W%j%1!<%7%g%s$+$i$N%j%?!<%sCM(B |
VM_EXREQ (10) | : $BIUd55/F0$,MW5a$5$l$?(B | $B!](B |
VM_ATTACH(11) | : $B@\B3>uBV$H$J$C$?(B | $B!](B |
VM_APLREG(12) | : $B%"%W%jEPO?$5$l$?(B | $B!](B |
VM_APLDEL(13) | : $B%"%W%jEPO?$,:o=|$5$l$?(B | $B!](B |
VM_INFO (14) | : $B4IM}>pJs$,I=<($5$l$?(B | $B!](B |
VM_DISK (15) | : $B%G%#%9%/>uBV$,I=<($5$l$?(B | $B!](B |
VM_GABAGE(16) | : $B%G%#%9%/@0M}$,5/F0$5$l$?(B | $B!](B |
vid $B!e(B 0
$B$N>l9g$O!"(B
buf
$B$K$O!"uBV$,JQ2=$7$?2>?H(B ID $B$H$=$N7k2L$NCM$,%Z%"$GLa$5$l!"(B
$B:G8e$O(B $B2>?H(B ID = 0
$B$G=*$o$k!#(B
$B%(%i!<$,H/@8$7$?$j!"2?$bJQ99$5$l$J$+$C$?2>?H$KBP$7$F$O!"(B
$B$=$N2>?H(B ID $B$OLa$5$l$J$$!#(B
$BNc!'?H(BID-1
$B!'(B $B!'(B
W $B2>?H(BID-n
W 0
$B?H(BID-1
RECT 1 $B$N?7$7$$2>?HNN0h(B
$B!'(B $B!'(B
W $B2>?H(BID-n
RECT n $B$N?7$7$$2>?HNN0h(B
W 0
VM_NAME $B$N$H$-!'(B W $B2>?H(BID-1
$B!'(B $B!'(B
W $B2>?H(BID-n
W 0
VM_NEW $B$N$H$-!'(B W $B2>?H(BID-1
W 1 $B$N?7HG$r;2>H$9$k2>?H(BID
$B!'(B $B!'(B
W $B2>?H(BID-n
W n $B$N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B$G;XDj$7$?IA2h4D6->e$KI=<((B / $B>C5n(B / $B%A%i%D%-I=<($9$k!#(B
selp->sts $B$O!"A*BrOH$N>uBV$rJ];}$9$k0J2<$NFbMF$N%G!<%?$G$"$k!#(B
xxxx xxxx xxxx xxxx IPBD WWWW TTTT TTTT
I = | 0 | $B2DG=>uBV(B |
| 1 | $BIT2D>uBV(B ( $BI=<($5$l$J$$(B ) |
P = | 0 | $B6k7AA*BrOH(B |
| 1 | $BB?3Q7AA*BrOH(B ( $B3Q4]$a$OL5;k$5$l$k(B ) |
B = | 0 | $B%A%i%D%->uBV$G$J$$(B |
| 1 | $B%A%i%D%->uBV(B |
D = | 0 | $B>C5n>uBV(B |
| 1 | $BI=<(>uBV(B |
W | | $BOHI}(B ( 0 $B$O%G%U%)!<%k%H(B ) |
T | | $B%A%i%D%-4V3V%+%&%s%?(B |
x | | $BM=Ls(B |
B, D, T
$B$NCM$O!"(Badsp_sel()
$B$NCf$G!"(B
$B>uBV$rJ];}$9$k$?$a$K;HMQ$7$F$$$k$?$a!"JQ99$7$F$O$J$i$J$$!#(B
$BOHI}$rI=<(>uBV$GJQ99$7$F$O$$$1$J$$(B($BI=<($OJ]>Z$5$l$J$$(B)$B!#(B
$B%A%i%D%-4V3V%+%&%s%?$N=i4|CM$OLd$o$J$$(B($BDL>o$O(B 0 $B$H$9$k(B)$B!#(B
$B!Z%(%i!<%3!<%I![(B
EX_ADR : $B%"%I%l%9(B(selp)$B$N%"%/%;%9$O5v$5$l$F$$$J$$!#(B
EG_xxx : $BIA2h(B($B%G%#%9%W%l%$%W%j%_%F%#%V(B)$B$N%(%i!
adsp_slt |
|
$BA*BrOH%j%9%H$NI=<((B |
|
$B!Z7A<0![(B
ERR adsp_slt(GID gid, SEL_LIST *selp, W mode, W dh, W dv)
$B!Z%Q%i%a!<%?![(B
GID gid $BIA2h4D6-(B ID
SEL_LIST *selp $BA*BrOHNN0h%j%9%H(B
W mode $BI=<(%b!<%I(B
= 0 : $B>C5n(B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