[comp.binaries.mac] Macintosh Technical Notes - 278 _PBClose the Barn Door

bytebug@dhw68k.cts.com (Roger L. Long) (08/04/90)

[6/90 Macintosh Technical Notes - 278 _PBClose the Barn Door]

Written by: Dave Radcliffe				       June 1990

This Technical Note discusses the need for Macintosh device  drivers  to
implement _PBClose.

---
(This file must be converted with BinHex 4.0)

:#941-MFi,R0TG!"6593K8dP8)3#3"!dK!*!%9`K6593K!!%!!!dKFNaKG3%!N!J
#(941,M)h1#jI8%*$E'pcC5"dD'8J3Q&bEL"%Efpb%-S!34$+!*!("4@+!!5PNJ"
"%")!"06mrrm"!2rr9dp54%e"3d%"!++2ef@LShV#!*!'%kJ!N!B-Q`!!PJJ!N!C
l33!-!&!")!!!!J!5rP[iMer"K"0J!-!c-@%$E48T!VJ)!!k!!3N")"%C%S!!E3*
3r![h6jb!I!+-$$K5!-8!K`*#MK`CmQ6+K`R*K$3BS1M3%`mH'Lc*0+3#!"N#3')
+T1P3UeJ6'ZcbN!#VeS31FPB&`)!)!!S!-!6!p8mH!(CY!qMb&dBK`i9!m`,!Zp%
%!!KDUCKX#m!$BEMbj0)0HIFIJ!mK)CGF#J'5!&!*(l!#3)k`BEH)jCCdc#!KfS,
Q"K"YN!"3)&R6"9N(6&MkE'b"VQZ$K"e!YZZRYNA)qb&MhKmFmd!pq&,[J4"k1V"
!@!'"RSNK$iK8HC+Jbi-BX`%!4rXEGSIKaBr2Hj@JhMmSp&i-+49)3#cRC'$3+d)
&(V6`%KL%9JRed#&(#$$Bmd)Hkb9!Ma(hK2'!&'NSddFdm(bLa$e63$$2"cR-m`N
-rV9''faEe,-%(Jp3`F%XI+MaJ"053(!*)rGJ%3JJe-@3!%%$9$c3""YcP,")!Kr
B`3F%P2aK"`@!P(#!2Gk%BNmd-LcAh(24IH"#L3")F+*Y8G4Q!3"Ce)E@%eqdkHD
EF-BTjjadeQRRR3f`PKYX+Y$c6Khae3%)(JE%&)NpeMba4J(3e"2%2BB!3XmNJMa
4aj8b21+#LDrC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