equal
deleted
inserted
replaced
42 HKEY_DYN_DATA' |
42 HKEY_DYN_DATA' |
43 poolDictionaries:'' |
43 poolDictionaries:'' |
44 privateIn:Win32OperatingSystem |
44 privateIn:Win32OperatingSystem |
45 ! |
45 ! |
46 |
46 |
47 OSHandle subclass:#Win32Handle |
|
48 instanceVariableNames:'' |
|
49 classVariableNames:'' |
|
50 poolDictionaries:'' |
|
51 privateIn:Win32OperatingSystem |
|
52 ! |
|
53 |
|
54 OSHandle subclass:#Win32IOHandle |
47 OSHandle subclass:#Win32IOHandle |
55 instanceVariableNames:'' |
48 instanceVariableNames:'' |
56 classVariableNames:'Lobby' |
49 classVariableNames:'Lobby' |
57 poolDictionaries:'' |
50 poolDictionaries:'' |
58 privateIn:Win32OperatingSystem |
51 privateIn:Win32OperatingSystem |
59 ! |
52 ! |
60 |
53 |
61 Smalltalk::Win32Handle subclass:#Win32ProcessHandle |
54 Win32Handle subclass:#Win32ProcessHandle |
62 instanceVariableNames:'pid' |
55 instanceVariableNames:'pid' |
63 classVariableNames:'' |
56 classVariableNames:'' |
64 poolDictionaries:'' |
57 poolDictionaries:'' |
65 privateIn:Win32OperatingSystem |
58 privateIn:Win32OperatingSystem |
66 ! |
59 ! |
9843 %}. |
9836 %}. |
9844 |
9837 |
9845 "Created: / 19.5.1999 / 21:45:05 / cg" |
9838 "Created: / 19.5.1999 / 21:45:05 / cg" |
9846 ! ! |
9839 ! ! |
9847 |
9840 |
9848 !Win32OperatingSystem::Win32Handle class methodsFor:'documentation'! |
|
9849 |
|
9850 documentation |
|
9851 " |
|
9852 I represent a non-I/O HANDLE. |
|
9853 " |
|
9854 ! ! |
|
9855 |
|
9856 !Win32OperatingSystem::Win32Handle methodsFor:'release'! |
|
9857 |
|
9858 close |
|
9859 "close the handle" |
|
9860 |
|
9861 self closeHandle |
|
9862 ! |
|
9863 |
|
9864 closeHandle |
|
9865 "close the handle" |
|
9866 |
|
9867 %{ |
|
9868 HANDLE h = _HANDLEVal(self); |
|
9869 |
|
9870 if (h) { |
|
9871 __externalAddressVal(self) = (HANDLE)0; |
|
9872 CloseHandle(h); |
|
9873 } |
|
9874 %}. |
|
9875 ! |
|
9876 |
|
9877 finalize |
|
9878 "a filedescriptor was garbage collected - close the underlying handle" |
|
9879 |
|
9880 self closeHandle |
|
9881 ! ! |
|
9882 |
|
9883 !Win32OperatingSystem::Win32IOHandle class methodsFor:'documentation'! |
9841 !Win32OperatingSystem::Win32IOHandle class methodsFor:'documentation'! |
9884 |
9842 |
9885 documentation |
9843 documentation |
9886 " |
9844 " |
9887 I represent a handle on which I/O is possible. |
9845 I represent a handle on which I/O is possible. |
11259 ! ! |
11217 ! ! |
11260 |
11218 |
11261 !Win32OperatingSystem class methodsFor:'documentation'! |
11219 !Win32OperatingSystem class methodsFor:'documentation'! |
11262 |
11220 |
11263 version |
11221 version |
11264 ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.226 2006-03-06 12:05:46 cg Exp $' |
11222 ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.227 2006-03-06 20:58:35 cg Exp $' |
11265 ! ! |
11223 ! ! |
11266 |
11224 |
11267 Win32OperatingSystem initialize! |
11225 Win32OperatingSystem initialize! |
11268 Win32OperatingSystem::RegistryEntry initialize! |
11226 Win32OperatingSystem::RegistryEntry initialize! |