Re: Porting SetupComm function in Mac
Re: Porting SetupComm function in Mac
- Subject: Re: Porting SetupComm function in Mac
- From: "Rakesh Singhal" <email@hidden>
- Date: Mon, 3 Nov 2008 12:55:09 +0530
This API setups some communication parameters for communication devie. Here
I am writing library for serial port. There are some more APIs, which I am
not able to understand liek following:
CreateEvent(0,true,false,0);
SetCommMask(m_hFile,dwEventMask);
There are some more things. I know only about the termios.h file whcih have
the APIs to access the serial port. Is there any other file which have any
more APIs for serial port or communication device.
Is it right place to put this posting?
Regards
On Mon, Nov 3, 2008 at 11:48 AM, Glenn L. Austin <email@hidden>wrote:
> Porting to the Mac isn't simply a process of "this API on the Mac kind of
> does what that API does on Windows."
>
> What exactly is this code trying to do?
>
>
> On Nov 2, 2008, at 9:23 PM, Rakesh Singhal wrote:
>
> Hi all
>>
>> I am porting a project from Windows (using Win32 APIs) to Mac OS. There is
>> following function, for which I am no finding any equivalent fucntion in
>> Mac. Actually I could not find these parameters in termios structure.
>>
>> BOOL WINAPI SetupComm ( HANLDE hFile, DWORD devInQueue, DWORD devOutQueue)
>> ;
>>
>> Please suggest me.
>>
>> Thanks in advance
>>
>> Regards
>> rksinghal
>>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden