🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1608

Re: if (DosBeep == _WORTHLESS) {plead('Help!);}

#1608
From: Terry Freas
Date: Thu, 01 Nov 1990 17:54
13 lines
1268 bytes
In article <10312@milton.u.washington.edu> zyx@milton.u.washington.edu (Bt Garner) writes:
>The Plea:  Is there a way to access the speaker without the use of DosBeep?
>Examples would be greatly apprecited, any language will do.

In _Programming the OS/2 Presentation Mananger_ Petzold writes code for an
IOPL segment to perform exactly the "leave on, leave off" type of speaker
access that you want.  I believe the speaker turns on after receipt of
a WM_MOUSE1DOWN (or something) and turns off with a WM_MOUSE1UP (or
something).  Source code in C is provided.

-- 
oo            - I live for the day earth becomes a domain name -            oo
\/ Jeremy Wohl / wohl@max.physics.sunysb.edu / cfreas@csserv1.ic.sunysb.edu \/
Technical Details
Message-ID: <1990Nov1.175416.6047@sbcs.sunysb.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!sharkey!sbcs!eeserv1!cfreas
References: <10312@milton.u.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!umich!sharkey!sbcs!eeserv1!cfreas
From: cfreas@eeserv1.ic.sunysb.edu (Terry Freas)
Newsgroups: comp.os.os2.programmer
Subject: Re: if (DosBeep == _WORTHLESS) {plead('Help!);}
Keywords: DosBeep, speaker, Begging
Message-ID: <1990Nov1.175416.6047@sbcs.sunysb.edu>
Date: 1 Nov 90 17:54:16 GMT
References: <10312@milton.u.washington.edu>
Sender: usenet@sbcs.sunysb.edu (Usenet poster)
Organization: State University of New York at Stony Brook
Lines: 13