$B$A$e(B $B$G$9!#(B
On Fri, 11 Sep 2009 01:06:01 -0700
$BFs=E5/F0$N6X;_$K$D$$$F(B
MSDN 2001$BG/(B10$B7n%j%j!<%9$G(B
WinMain() $B$***@bL@$K(B
hPrevInstance
$B%"%W%j%1!<%7%g%s$NA0$N%$%s%9%?%s%9$N%O%s%I%k$,F~$j$^$9!#(B
Win32 $B%"%W%j%1!<%7%g%s$G$O!">o$K(B NULL $B$G$9!#(B
$B$9$G$KB>$N%$%s%9%?%s%9$,B8:_$9$k$+$I$&$+$rD4$Y$k$K$O!"(B
CreateMutex $B4X?t$r;H$C$F0l0U$NL>A0$NIU$$$?%_%e!<%F%C%/%9$r:***@.$7$F$/$@$5$$!#(B
CreateMutex $B4X?t$O!"$9$G$N$=$N%_%e!<%F%C%/%9$,B8:_$7$F$$$F$***@.8y$7$^$9$,!"(B
GetLastError $B4X?t$r8F$S=P$9$H(B ERROR_ALREADY_EXISTS $B$,JV$j$^$9!#(B
GetLastError $B4X?t$+$i$3$NCM$,JV$5$l$?>l9g!"4{$KF1$8%"%W%j%1!<%7%g%s$NB>$N%$%s%9%?%s%9$,(B
$BB8:_$7$F$*$j!"$=$l$,:G=i$N%_%e!<%F%C%/%9$r:***@.$7$F$$$^$9!#(B
$B$HM-$k$N$G!"@***@J8$K=>$C$F(B CreateMutex$B4X?t$G2DG=$G$9!#(B