--- a/Win32OperatingSystem.st Fri Jun 12 15:37:31 2009 +0200
+++ b/Win32OperatingSystem.st Fri Jun 12 18:27:00 2009 +0200
@@ -6796,6 +6796,42 @@
"
!
+playSound:fileName
+ self playSound:fileName mode:1
+
+"/#define SND_SYNC 0x0000 /* play synchronously (default) */
+"/#define SND_ASYNC 0x0001 /* play asynchronously */
+"/#define SND_NODEFAULT 0x0002 /* silence (!!default) if sound not found */
+"/#define SND_LOOP 0x0008 /* loop the sound until next sndPlaySound */
+"/#define SND_NOSTOP 0x0010 /* don't stop any currently playing sound */
+
+ "
+ self
+ playSound:'C:\Dokumente und Einstellungen\cg\work\exept\expecco\resources\sounds\start.wav'
+ "
+
+ "Created: / 06-11-2007 / 00:46:57 / cg"
+!
+
+playSound:fileName mode:modeInteger
+ <apicall: void "sndPlaySoundA" ( lpstr uint32) module: "winmm.dll" >
+ self primitiveFailed.
+
+"/#define SND_SYNC 0x0000 /* play synchronously (default) */
+"/#define SND_ASYNC 0x0001 /* play asynchronously */
+"/#define SND_NODEFAULT 0x0002 /* silence (!!default) if sound not found */
+"/#define SND_LOOP 0x0008 /* loop the sound until next sndPlaySound */
+"/#define SND_NOSTOP 0x0010 /* don't stop any currently playing sound */
+
+ "
+ self
+ playSound:'C:\Dokumente und Einstellungen\cg\work\exept\expecco\resources\sounds\start.wav'
+ mode:1
+ "
+
+ "Modified: / 06-11-2007 / 00:46:27 / cg"
+!
+
primCloseHandle: handle
<apicall: ulongReturn "CloseHandle" ( handle ) module: "kernel32.dll" >
@@ -8780,42 +8816,6 @@
"Created: / 27-07-2006 / 14:40:41 / fm"
!
-playSound:fileName
- self playSound:fileName mode:1
-
-"/#define SND_SYNC 0x0000 /* play synchronously (default) */
-"/#define SND_ASYNC 0x0001 /* play asynchronously */
-"/#define SND_NODEFAULT 0x0002 /* silence (!!default) if sound not found */
-"/#define SND_LOOP 0x0008 /* loop the sound until next sndPlaySound */
-"/#define SND_NOSTOP 0x0010 /* don't stop any currently playing sound */
-
- "
- self
- playSound:'C:\Dokumente und Einstellungen\cg\work\exept\expecco\resources\sounds\start.wav'
- "
-
- "Created: / 06-11-2007 / 00:46:57 / cg"
-!
-
-playSound:fileName mode:modeInteger
- <apicall: void "sndPlaySoundA" ( lpstr uint32) module: "winmm.dll" >
- self primitiveFailed.
-
-"/#define SND_SYNC 0x0000 /* play synchronously (default) */
-"/#define SND_ASYNC 0x0001 /* play asynchronously */
-"/#define SND_NODEFAULT 0x0002 /* silence (!!default) if sound not found */
-"/#define SND_LOOP 0x0008 /* loop the sound until next sndPlaySound */
-"/#define SND_NOSTOP 0x0010 /* don't stop any currently playing sound */
-
- "
- self
- playSound:'C:\Dokumente und Einstellungen\cg\work\exept\expecco\resources\sounds\start.wav'
- mode:1
- "
-
- "Modified: / 06-11-2007 / 00:46:27 / cg"
-!
-
primAbortDoc:hwnd
<apicall: int32 "AbortDoc" (handle) module: "gdi32.dll" >
self primitiveFailed.
@@ -16132,7 +16132,7 @@
!Win32OperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.367 2009-06-11 20:58:19 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.368 2009-06-12 16:27:00 cg Exp $'
! !
Win32OperatingSystem initialize!