What should i use instead of windows.h in linux
I am trying to port a windows program to linux. 

I have never programmed in linux and have very little idea what I am doing. 

I have managed to eliminate a lot of the errors I got in the G++ compiler on linux and have traced most of the remaining ones to Non existent variable types. 

I took out the windows.h file but I do know know what to do with the CALLBACK, HANDEL, DWORD and HHOOK variables. Apparently there is no equivalent to HANDEL in linux so I think I may have to rewrite some of the structure.

Can anyone explain what I should be doing or point me to some tutorials that teach me how to do these things in linux.

my program runs a polling loop on an RS 485 network if that helps.
What should i use instead of windows.h in linux
===

I am trying to port a windows program to linux. 

I have never programmed in linux and have very little idea what I am doing. 

I have managed to eliminate a lot of the errors I got in the G++ compiler on linux and have traced most of the remaining ones to Non existent variable types. 

I took out the windows.h file but I do know know what to do with the CALLBACK, HANDEL, DWORD and HHOOK variables. Apparently there is no equivalent to HANDEL in linux so I think I may have to rewrite some of the structure.

Can anyone explain what I should be doing or point me to some tutorials that teach me how to do these things in linux.

my program runs a polling loop on an RS 485 network if that helps.