Using Intel® Visual Fortran to Create and Build Windows*-Based Applications

ID 757211
Date 7/23/2021
Public
Document Table of Contents

Special Naming Convention for Certain QuickWin and Windows* Graphics Routines

Most QuickWin routines have a QQ appended to their names to differentiate them from equivalent Windows operating system routines. However, a small group of QuickWin graphics routines have the same name as the Windows routines, causing a potential naming conflict if your program unit includes both USE IFLIBS (which includes QuickWin routine interface definitions) and USE IFWIN (which includes Windows API routine interface definitions).

The QuickWin routines perform the same functions as the SDK routines but take a unit number, or use the unit in focus at the time of call, instead of taking a device context (DC) as one of their arguments.

To handle this situation, a special MSFWIN$ prefix is used for the Windows routines. These prefixed names must be used even if you only specify USE IFWIN.

For example, Rectangle is a QuickWin routine, not a Windows SDK routine, and you must use the name MSFWIN$Rectangle to refer to the SDK routine:

QuickWin Routine

Windows API Routine

ARC

MSFWIN$Arc

ELLIPSE

MSFWIN$Ellipse

FLOODFILL

MSFWIN$FloodFill

GETBKCOLOR

MSFWIN$GetBkColor

GETPIXEL

MSFWIN$GetPixel

GETTEXTCOLOR

MSFWIN$GetTextColor

LINETO

MSFWIN$LineTo

PIE

MSFWIN$Pie

POLYGON

MSFWIN$Polygon

RECTANGLE

MSFWIN$Rectangle

SETBKCOLOR

MSFWIN$SetBkColor

SETPIXEL

MSFWIN$SetPixel

SETTEXTCOLOR

MSFWIN$SetTextColor