Functions

Although Windows programs use functions like a normal C program, there are several areas that look different.

These include use of the WinMain function and the FAR and PASCAL keywords used when calling functions.

NOTE:

By convention, certain C keywords in Windows are written in all capital letters rather than lowercase as the ANSI standard has them. WINDOWS.H defines two equivalent versions of these keywords. They are: FAR (__far), PASCAL (__pascal), NEAR (__near), LONG (long), and VOID (void).