This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: get windows messages


Corinna Vinschen writes:

> On Wednesday 20 December 2000 14:58, flav wrote:
> > hello,
> > =09I would like to know if it is possible to get the windows
> > message and if it is possible, how to get them (without using the
> > windows
> > main loop)
> 
> =46rom the Cygwin source code:
> 
>         open ("/dev/windows", flags, mode=3D0)
>                 - create a unix fd for message queue.

I know this is a bit after the fact, but wouldn't some kind of special
"socket" domain/family have been more appropriate here?

x = socket(PF_WINMSG, SOCK_DGRAM, 0);

Cheers,

Dave

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]