🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: A question or three.

#355
From: Peter Forsberg
Date: Tue, 11 Aug 1992 10:59
35 lines
1586 bytes
In <19920811.014200.529@almaden.ibm.com> I wrote:
>In <19920811.003756.988@almaden.ibm.com> I wrote:
>>(...)
>>typedef struct _COMMANDMSG    /* commandmsg */
>>
>
>It seems that most of the definition disappeared, so here it comes again:
>
>typedef struct _COMMANDMSG    /* commandmsg */
>

Well, it disappeared again (must be an EBCDIC<->ASCII problem), so I
have changed some characters, but I guess that you understand anyway:

pragma pack(1)

typedef struct _COMMANDMSG    /* commandmsg */
(
   USHORT  cmd;              /* mp1 */
   USHORT  unused;
   USHORT  source;           /* mp2 */
   USHORT  fMouse;
) CMDMSG;
typedef CMDMSG *PCMDMSG;

define COMMANDMSG(pmsg) 
((PCMDMSG)((PBYTE)pmsg + sizeof(MPARAM) ))

pragma pack()

/Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Technical Details
Message-ID: <19920811.020738.981@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
References: <1992Aug10.162757.13720@thyme.jpl.nasa.gov> <19920811.003756.988@almaden.ibm.com> <19920811.014200.529@almaden.ibm.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: peterf@vnet.ibm.com (Peter Forsberg)
Message-ID: <19920811.020738.981@almaden.ibm.com>
Date: Tue, 11 Aug 92 10:59:29 SWE
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
Subject: Re: A question or three.
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
References: <1992Aug10.162757.13720@thyme.jpl.nasa.gov>            <19920811.003756.988@almaden.ibm.com>
            <19920811.014200.529@almaden.ibm.com>
Lines: 35