DLL EXPORTS ______________ Copyright Barry Kauler 1992. What follows is a list of functions (exports), ordinal coordinates and other data, contained in Windows Dynamic Link Libraries (including device drivers). Many of these are undocumented, and many are documented in obscure places, such as the Windows Device development Kit (DDK). This book describes many of the obscure functions: refer to the Index. Not all of these functions can be called directly, as you would any normal Windows function. Those in any file other than GDI.EXE, USER.EXE and KERNEL.EXE (and some within these files) fall into this category, and have various optional mechanisms for calling. Refer to the Index for more information on this. Note that the usual method involves using LOADLIBRARY() or GETMODULEHANDLE(), and GETPROCADDRESS(). The latter works fastest if we know the ordinal coordinates of the function within the file. The link step links with a library file, in Microsoft's case it is LIBW.LIB, and in Borland's case it is IMPORT.LIB, that provides the access to the above three files ... but not to all of the functions in them ... see the case of REPAINTSCREEN() in this book ... hence the need for the above functions to load and get the address of the function at runtime. All of the following files are standard Windows files and are to be found in \WINDOWS\SYSTEM subdirectory. The two files VGA.DRV and EPSON9.DRV can have other names, dependent upon the hardware, but you will find the function names to be standardised. The information in this Appendix was extracted by use of Microsoft's EXEHDR.EXE utility, supplied with C v6.00 and later. Borland has a similar product called TDUMP.EXE. These are the files contained in this Appendix: KERNEL.EXE Provides system services, such as memory management and task management. KERNEL.EXE is for real-mode Windows, KRNL286.EXE is for standard mode, and KRNL386.EXE is for enhanced mode. GDI.EXE This provides graphical device interface services. It works with display and printer drivers. I have put two examples below; VGA.DRV and EPSON9.DRV. USER.EXE This provides user interface services, such as managing windows and handling messages. SYSTEM.DRV This device driver is not documented anywhere, but appears to be concerned with the hardware of the motherboard, mainly the timers. KEYBOARD.DRV MOUSE.DRV VGA.DRV EPSON9.DRV These drivers do what their names suggest. All of the above files are Dynamic Link Libraries, that is, they have functions that are "exported" (made available to be called by other modules (files)). Note that applications also have exported functions; the callbacks, and in theory they can be called from other programs (though it is usually Windows itself that calls them). LIBRARY FILES Library: KERNEL LEGEND: K Description: Microsoft Windows Kernel Interface Version 3.00 Data: SHARED Library: GDI LEGEND: G Description: Microsoft Windows Graphics Device Interface Data: SHARED Library: USER LEGEND: U Description: Microsoft Windows User Interface Data: SHARED Library: SYSTEM LEGEND: S Description: Microsoft Windows System config. module for IBM/PC Data: NONE Library: KEYBOARD LEGEND: B Description: KEYBOARD (Enhanced keyboard): Data: SHARED Library: MOUSE LEGEND: M Description: Microsoft Mouse Data: SHARED Library: DISPLAY LEGEND: D Description: DISPLAY : 100 96 96 : IBM Personal System/2 Model 50 Color Display Data: SHARED Library: EPSON9 LEGEND: E Description: DDRV Epson 9 pin:167,120,72; 83,120,144; 60,72,120; 120,144,120 Data: SHARED Library: SOUND LEGEND: O Description: Windows sound driver Data: SHARED Library: TOOLHELP LEGEND: T Description: TOOLHELP - Debug/Tool Helper library Data: SHARED FUNCTIONS SUMMARY These functions are in alphabetical order. Where DLL-library & ordinal-coordinate have not been supplied (marked by ***), it has either not been determined by me, or is not applicable. Functions marked as documented in the SDKv3.0 are also documented in the SDKv3.1. Note that the SDKv3.1 is bundled with Microsoft C/C++v7.0. Microsoft do sell the books separately, and there are also other sources of documentation on the functions. For example Borland has it on-line with C++v3.0, and also as a separate book. Functions not documented in the SDK, may be described in the DDK, else are not officially supported. In the latter case, have a look in "Undocumented Windows", by A. Schulman and D. Maxey, Addison Wesley 1992, USA. As very few people can afford the several hundred dollars for the DDK, I recommend "Writing Windows Device Drivers", by D. A. Norton, Addison Wesley 1992, USA, as next-best coverage of functions that are also described in the DDK. All functions herein marked as being documented in the DDK can be found in this book. TOOLHELP.DLL is supplied with Windows 3.1, but note that it is backwards compatible, meaning that you can bundle it with your program for use under Windows 3.0 K,183 __0000H K,193 __0040H K,174 __A000H K,114 __AHINCR ABS value, the offset between huge object selectors 3 K,113 __AHSHIFT K,181 __B000H K,182 __B800H K,195 __C000H K,179 __D000H K,190 __E000H K,194 __F000H K,173 __ROMBIOS K,178 __WINFLAGS ABS constant, value returned by GetWinFlags 3 U,341 _FFFE_FARFRAME K,81 _LCLOSE Closes a file 1 K,83 _LCREAT Opens a file 1 K,84 _LLSEEK Positions the file pointer 1 K,85 _LOPEN Opens a file 1 K,82 _LREAD Reads data from a file 1 K,86 _LWRITE Writes data to a file 1 U,420 _WSPRINTF Formates and stores a series of characters and values in a buffer. Format arguments are passed separatelty. 1 S,20 A20_PROC K,165 A20PROC E,101 ABOUT K,64 ACCESSRESOURCE Opens the specified resource 1 K,70 ADDATOM Creates an atom for a character string 1 G,119 ADDFONTRESOURCE Adds a font resource in the specified file to the system font table 1 U,102 ADJUSTWINDOWRECT Computes the size of a window to fit a given client 1 U,454 ADJUSTWINDOWRECTEX Computes the size of a window with extended style to fit a given client area 1 *,93 ADVANCEDSETUPDIALOG Display a dialog box for advanced printer specs 3 K,172 ALLOCALIAS K,170 ALLOCCSTODSALIAS Allocates a new data selector that aliases an existing code selector 3 K,171 ALLOCDSTOCSALIAS Accepts a data-segment selector and returns a code-segment selector that can be used to execute code in a data segment 1 K,66 ALLOCRESOURCE Allocates uninitialized memory for a resource 1 K,175 ALLOCSELECTOR Allocates a new selector 1 K,206 ALLOCSELECTORARRAY Allocates an evenly spaced array of selectors 3 G,367 ANIMATEPALETTE Replaces entries in a logical palette; Window maps the new entries into the system palette immediately 1 U,432 ANSILOWER Converts a character string to lowercase 1 U,438 ANSILOWERBUFF converts a character string in a buffer to lowercase 1 U,472 ANSINEXT Returns a long pointer to the next character in a string 1 U,473 ANSIPREV Returns a long pointer to the previous character in a string 1 B,5 ANSITOOEM Converts an ANSI string to an OEM character string 1 B,134 ANSITOOEMBUFF Converts an ANSI string in a buffer to an OEM character string 1 U,431 ANSIUPPER Converts a character string to uppercase 1 U,437 ANSIUPPERBUFF Converts a character string in a buffer to uppercase 1 U,52 ANYPOPUP Indicates whether any pop-up window exists 1 U,411 APPENDMENU Appends a menu item to a menue 1 G,23 ARC Draws an arc 1 U,170 ARRANGEICONICWINDOWS Arranges minimized (iconic) child windows 1 U,259 BEGINDEFERWINDOWPOS Initializes memory used by the DeferWindowPos function 1 U,39 BEGINPAINT Prepares a window for painting 1 D,1 BITBLT E,1 BITBLT G,34 BITBLT Copies a bitmap from a source to a destination device 1 G,46 BITMAPBITS U,45 BRINGWINDOWTOTOP Brings a window to the top of a stack of overlapped windows 1 U,355 BROADCASTMESSAGE G,213 BRUTE U,213 BUILDCOMMDCB Fills a device control block with control codes 1 U,303 BUTTONWNDPROC U,462 CALCCHILDSCROLL U,123 CALLMSGFILTER Passes a message and other data to the current message-filter function 1 K,53 CALLPROCINSTANCE U,122 CALLWINDOWPROC Passes message information to the specified function 1 U,311 CARETBLINKPROC U,198 CASCADECHILDWINDOWS K,55 CATCH Copies the current execution environment to a buffer 1 U,149 CHANGECLIPBOARDCHAIN Removes a window from the chain of clipboard viewers 1 U,153 CHANGEMENU Superceded by APPENDMENU, DELETEMENU, INSERTMENU, MODIFYMENU and REMOVEMENU, with v3.0. 1 *** CHANGESELECTOR Generates a code selector for a given data selector, or a data selector for a given code selector. Not recommended by Microsoft. 1 D,104 CHECKCURSOR Process timer interrupt 3 U,97 CHECKDLGBUTTON Places/removes a check, or changes the state of the three-state button 1 U,154 CHECKMENUITEM Places or removes checkmarks next to pop-up menu items 1 U,96 CHECKRADIOBUTTON Checks a specified button and removes checks from all others 1 U,191 CHILDWINDOWFROMPOINT Determines which child window contains a specific point 1 G,348 CHORD draws a chord 1 T,69 CLASSFIRST T,70 CLASSNEXT U,211 CLEARCOMMBREAK Clears the communication break state from a communication device 1 U,28 CLIENTTOSCREEN Converts client coordinates into screen coordinates 1 U,16 CLIPCURSOR Restricts the cursor to a given rectangle 1 U,138 CLOSECLIPBOARD Closes the clipboard 1 U,207 CLOSECOMM Closes a communication device after transmitting the current buffer 1 G,243 CLOSEJOB G,126 CLOSEMETAFILE Closes a metafile and creates a metafile handle 1 O,2 CLOSESOUND Closes access to the play device and frees the device for opening by other applications. 1 U,43 CLOSEWINDOW Hides the specified window or minimizes it 1 D,2 COLORINFO Convert colours between RGBQUAD and physical 3 E,2 COLORINFO G,47 COMBINERGN Combines two existing regions into a new region 1 U,344 COMBOBOXCTLWNDPROC G,157 COMPATIBLEBITMAP U,316 COMPUPDATERECT U,317 COMPUPDATERGN D,3 CONTROL Send special information to/from device driver 3 E,3 CONTROL U,273 CONTROLPANELINFO U,310 CONTSCROLL G,250 COPY G,151 COPYMETAFILE Copies a source metafile to a file 1 U,74 COPYRECT Makes a copy of an existing rectangle 1 U,143 COUNTCLIPBOARDFORMATS Retrieves a count of the number of formats the clipboard can render. 1 O,13 COUNTVOICENOTES Retrieves a count of the number of notes in the specified queue. 1 D,20 CREATEBITMAP G,48 CREATEBITMAP Creates a bitmap 1 G,49 CREATEBITMAPINDIRECT Creates a bitmap described in a data structure 1 G,50 CREATEBRUSHINDIRECT Creates a logical brush 1 U,163 CREATECARET Creates a caret 1 G,51 CREATECOMPATIBLEBITMAP Creates a bitmap compatible with device specified by the hDC parameter. 1 G,52 CREATECOMPATIBLEDC Creates a memory device context 1 U,406 CREATECURSOR Creates a cursor from two bit masks 1 U,408 CREATECURSORICONINDIRECT G,53 CREATEDC Creates a device context 1 U,89 CREATEDIALOG Creates a modeless dialog box 1 U,219 CREATEDIALOGINDIRECT Creates a modeless dialog box from a template 1 U,242 CREATEDIALOGINDIRECTPARAM Creates a modeless dialog box from a template and passes data to it when it is created 1 U,241 CREATEDIALOGPARAM Creates a modeless dialog box and passes date to it when it is created 1 G,442 CREATEDIBITMAP Creates a device-specified memory bitmap from a device-independent bitmap (DIB) specification and optionally initializes bits in the bitmap. This function is similar to createbitmap 1 G,445 CREATEDIBPATTERNBRUSH Creates a logical brush that has a pattern defined by a device-independent bitmap (DIB) 1 G,156 CREATEDISCARDABLEBITMAP Creates a discardable bitmap that is compatible with a specified deevice 1 G,54 CREATEELLIPTICRGN Creates an elliptical region 1 G,55 CREATEELLIPTICRGNINDIRECT Creates an elliptical region 1 G,56 CREATEFONT Creates a logical font that has the specified characteristics 1 G,57 CREATEFONTINDIRECT Creates a logical font that has the specified characteristics 1 G,58 CREATEHATCHBRUSH Creates a logical brush that has a hatched pattern 1 G,153 CREATEIC Creates an information context 1 U,407 CREATEICON Creates an icon with specified parameters. 1 U,151 CREATEMENU Creates an empty menu 1 G,125 CREATEMETAFILE Creates a metafile display context 1 G,360 CREATEPALETTE Creates a logical palette 1 G,60 CREATEPATTERNBRUSH Creates a logical brush that has a pattern defined by a memory bitmap 1 G,61 CREATEPEN Creates a logical pen 1 G,62 CREATEPENINDIRECT Creates a logical pen 1 G,63 CREATEPOLYGONRGN Creates a polygonal region 1 G,451 CREATEPOLYPOLYGONRGN Creates a region consisting of a series of closed polygons that are filled as though they were a single polygon 1 U,415 CREATEPOPUPMENU Creates an empty pop-up menu 1 G,230 CREATEPQ Creates a GDI priority queue 3 G,408 CREATEREALBITMAP G,406 CREATEREALBITMAPINDIRECT G,64 CREATERECTRGN Creates a rectangular region 1 G,65 CREATERECTRGNINDIRECT Creates a rectangular region 1 G,444 CREATEROUNDRECTRGN Creates a rounded rectangular region 1 G,66 CREATESOLIDBRUSH Creates a logical brush 1 S,2 CREATESYSTEMTIMER Allocates a system timer to be used by a device driver 3 G,407 CREATEUSERBITMAP G,409 CREATEUSERDISCARDABLEBITMAP U,41 CREATEWINDOW creates overlapped, pop-up, and child windows 1 U,452 CREATEWINDOWEX creates overlapped, pop-up, and child windows with extended styles 1 K,205 CVWBREAK G,121 DEATH K,203 DEBUGBREAK Forces a break to the debugger 1 U,308 DEFDLGPROC Provides default processing for those dialog-box messages that an application does not process 1 U,260 DEFERWINDOWPOS Updates the multiple window-position data structure identified by the hWinPosInfo parameter for the window identified by hWnd. 1 U,445 DEFFRAMEPROC Provides default processing for those multiple document interface (MDI) frame window messages that an application does not process 1 U,235 DEFHOOKPROC Calls the next filter function in a filter-function chain 1 K,94 DEFINEHANDLETABLE Creates a private handle table in an application's default data segment 1 U,447 DEFMDICHILDPROC Provides default processing those for MDI child window messages an that application does not process 1 U,107 DEFWINDOWPROC Provides default processing for those window messages that an application does not process 1 G,186 DELETEABOVELINEFONTS K,71 DELETEATOM Deletes an atom if the reference count is zero 1 G,68 DELETEDC Deletes a device context 1 G,244 DELETEJOB U,413 DELETEMENU Removes a menu item and destroys any associated pop-up menus 1 G,127 DELETEMETAFILE Deletes a metafile from memory 1 G,69 DELETEOBJECT Deletes a logical pen, brush, font, bitmap, or region 1 K,76 DELETEPATHNAME G,235 DELETEPQ Deletes a GDI priority queue 3 U,305 DESKTOPWNDPROC U,164 DESTROYCARET Destroys the current caret 1 U,458 DESTROYCURSOR Destroys a cursor created by the CreateCursor function 1 U,457 DESTROYICON Destroys an icon created by CREATEICON 1 U,152 DESTROYMENU Destroys the specified menu 1 U,53 DESTROYWINDOW Destroys a window 1 D,16 DEVICEBITMAP Dummy stub required by GDI drivers 3 E,16 DEVICEBITMAP D,19 DEVICEBITMAPBITS Transfer a bitmap between device-independent and device-dependent formats 3 *** DEVICECAPABILITIES Retrieves the capabilities of the printer device driver 1 G,449 DEVICECOLORMATCH D,13 DEVICEMODE Sets the current printing modes for a device by prompting the user with a dialog box 1 E,13 DEVICEMODE U,87 DIALOGBOX Creates a modal dialog box 1 U,218 DIALOGBOXINDIRECT Creates a modal dialog box from a template 1 U,240 DIALOGBOXINDIRECTPARAM Creates a modal dialog box from a template and passes data to it when it is created 1 U,239 DIALOGBOXPARAM Creates a modal dialog box and passes data to it when it is created 1 E,100 DIALOGFN D,21 DIBSCREENBLT K,150 DIRECTEDYIELD K,168 DIRECTRESALLOC B,3 DISABLE Suspends interrupt callbacks & removes hooks 3 D,4 DISABLE Stops all device activity 3 E,4 DISABLE M,3 DISABLE Suspends interrupt callbacks from the mouse device 3 K,42 DISABLEDOS K,125 DISABLEKERNEL U,4 DISABLEOEMLAYER S,5 DISABLESYSTEMTIMERS U,114 DISPATCHMESSAGE Passes a message to a window function of the specified window 1 U,100 DLGDIRLIST Fills the list box with names of files matching a path 1 U,195 DLGDIRLISTCOMBOBOX Fills a combo box with names of files matching a path 1 U,99 DLGDIRSELECT Copies the current selection from a list box to a string 1 U,194 DLGDIRSELECTCOMBOBOX Copies the current selection from a combo box to a string1 G,201 DMBITBLT G,202 DMCOLORINFO G,206 DMENUMDFONTS G,207 DMENUMOBJ G,208 DMOUTPUT G,209 DMPIXEL G,210 DMREALIZEOBJECT G,212 DMSCANLR G,211 DMSTRBLT G,220 DMTRANSPOSE Transposes the specified bitmap 3 D,90 DO_POLYLINES D,91 DO_SCANLINES O,17 DOBEEP K,102 DOS3CALL Issues a DOS 21H (function-request) interrupt 1 K,39 DOSIGNAL G,67 DPTOLP Converts device points (that is, points relative to the window origin) into logical points 1 G,138 DPXLATE U,465 DRAGDETECT U,464 DRAGOBJECT U,466 DRAWFOCUSRECT Draws a rectangle in the style used to indicate focus 1 U,84 DRAWICON Draws an icon 1 U,160 DRAWMENUBAR Redraws a menu bar 1 U,85 DRAWTEXT Draws characters of a specific string 1 U,459 DUMPICON U,301 EDITWNDPROC G,24 ELLIPSE Draws an ellipse 1 U,139 EMPTYCLIPBOARD Empties the clipboard and reassigns clipboard ownership 1 K,160 EMSCOPY B,2 ENABLE Enables calls to the Windows keyboard event procedure 3 D,5 ENABLE Starts or resumes device activity 3 E,5 ENABLE M,2 ENABLE Enables calls to the Windows mouse event procedure 3 K,41 ENABLEDOS U,331 ENABLEHARDWAREINPUT Enables or diables mouse and keyboard input throughout the application 1 B,136 ENABLEKBSYSREQ Enables or disables SysReq key processing 3 K,124 ENABLEKERNEL U,155 ENABLEMENUITEM Enables, disables, or grays a menu item 1 U,3 ENABLEOEMLAYER S,4 ENABLESYSTEMTIMERS U, 34 ENABLEWINDOW Enables the disables mouse and keyboard input throughout the application 1 U,261 ENDDEFERWINDOWPOS Positions or sizes several windows simultaneously based on information recorded by the DefWindowPos function 1 U,88 ENDDIALOG Frees resourses and destroys windows associated with a modal dialog box 1 U,187 ENDMENU U,40 ENDPAINT Marks the end of window repainting 1 G,247 ENDSPOOLPAGE G,158 ENUMCALLBACK U,55 ENUMCHILDWINDOWS Enumerates the child windows that belong to a specific parent window 1 U,144 ENUMCLIPBOARDFORMATS Enumerates the available clipboard formats 1 D,6 ENUMDFONTS Calls the specified callback function for each font supported by the device 3 E,6 ENUMDFONTS G,70 ENUMFONTS Enumerates the fonts available on a given device 1 G,175 ENUMMETAFILE Enumerates the GDI calls within a metafile 1 D,7 ENUMOBJ Calls the specified callback function for each pen or brush available on the device 3 E,7 ENUMOBJ G,71 ENUMOBJECTS Enumerates the available pens or brushes 1 U,27 ENUMPROPS Passes the properties of a window to an enumeration function 1 U,225 ENUMTASKWINDOWS Enumerates all windows associated with a given task 1 U,54 ENUMWINDOWS Enumerates windows on the display 1 U,244 EQUALRECT Determines whether two rectangles are equal 1 G,72 EQUALRGN Determines whether two regions are identical 1 G,38 ESCAPE Allows applications to access facilities of a device that are not directly available through GDI. 1 U,214 ESCAPECOMMFUNCTION Directs a device to carry out an extended function 1 G,21 EXCLUDECLIPRECT Excludes a rectangle from the clipping region 1 U,238 EXCLUDEUPDATERGN Prevents drawing within invalid areas of a window 1 G,73 EXCLUDEVISRECT K,2 EXITKERNEL U,7 EXITWINDOWS Initiates the standard Windows shutdown procedure 1 *** EXTDEVICEMODE Retrieves or modifies device initialisation information for a given printer driver. 1 G,372 EXTFLOODFILL Fills the display surface within a border or over an area of a given color 1 G,232 EXTRACTPQ Removes the highest priority entry from a GDI priority queue 3 D,14 EXTTEXTOUT E,14 EXTTEXTOUT G,351 EXTTEXTOUT Writes a character string, within a rectangle region, using the currently selected font. The rectangular region can be opaque (filled with the current backgroung color) and it can be a clipping region. 1 U,500 FARCALLNETDRIVER D,17 FASTBORDER Draws a rectangle with a border 3 E,17 FASTBORDER G,400 FASTWINDOWFRAME K,137 FATALAPPEXIT Displays a message box and then terminates the application 1 K,1 FATALEXIT Displays the current state of Window and prompts for instructions on how to proceed 1 K,130 FILECDR U,346 FILEPORTDLGPROC U,81 FILLRECT Fills a given rectangle by using the specified brush 1 G,40 FILLRGN Fills the given region with a brush pattern 1 U,324 FILLWINDOW G,405 FINALGDIINIT U,400 FINALUSERINIT K,69 FINDATOM Retrieves an atom associated with a character string 1 K,60 FINDRESOURCE Determines the location of a resource 1 U,50 FINDWINDOW Returns the handle of a window with the given class and caption 1 U,105 FLASHWINDOW Flashes the window by inverting its active/inactive state 1 G,25 FLOODFILL Fills the display surface within a border 1 U,215 FLUSHCOMM Flushes characters from a communication device 1 U,83 FRAMERECT Draws a border for the given rectangle 1 G,41 FRAMERGN Draws a border for a given region 1 K,96 FREELIBRARY Decreases the reference count of a library by one and removes it from memory if the reference count is zero 1 K,46 FREEMODULE Decreases the reference count of a module by one and removes it from memory if the reference count is zero 1 K,52 FREEPROCINSTANCE Removes a function instance entry at an address 1 K,63 FREERESOURCE Removes a loaded resource from memory 1 K,176 FREESELECTOR Frees a selector originally allocated by the Alloc-Selector, AllocDStoDSAlias, or AllocDStoCSAlias functions 1 G,403 GDIINIT2 G,401 GDIMOVEBITMAP G,362 GDIREALIZEPALETTE G,361 GDISELECTPALETTE S,7 GET80X87SAVESIZE U,60 GETACTIVEWINDOW Returnes a handle to the active window 1 G,353 GETASPECTRATIOFILTER Retrieves the setting of the current aspect-ratio filter. 1 U,249 GETASYNCKEYSTATE Returns interrupt-level information about the key state 1 K,73 GETATOMHANDLE Retrieves an handle (relative to the local heap) of the string that corresponds to a specified atom 1 K,72 GETATOMNAME Copies the character string associated with an atom 1 *,137 GETBIOSKEYPROC Queries the address of the BIOS interrupt service routine 3 G,74 GETBITMAPBITS Retrieves the bits in memory for a specific bitmap 1 G,162 GETBITMAPDIMENSION Retrieves the dimensions of a bitmap 1 G,75 GETBKCOLOR Returns the current background color 1 G,76 GETBKMODE Returns the current background mode 1 G,149 GETBRUSHORG Retrieves the current brush origin for a device context 1 *** GETBVALUE Macro, extracts the blue value from an RGB value 1 U,236 GETCAPTURE Returns a handle to the window with the mouse capture 1 U,169 GETCARETBLINKTIME Returns the caret flash rate 1 U,183 GETCARETPOS Returns the current caret position 1 D,15 GETCHARWIDTH E,15 GETCHARWIDTH G,350 GETCHARWIDTH Retrieves the widths of individual characters 1 U,404 GETCLASSINFO Retrieves information about a specified class 1 U,131 GETCLASSLONG Retrieves window-class information from a WNDCLASS structure 1 U,58 GETCLASSNAME Retrieves a window-class name 1 U,129 GETCLASSWORD Retrieves window-class information from a WNDCLASS structure 1 U,33 GETCLIENTRECT Copies the coordinates of a window's client area 1 U,142 GETCLIPBOARDDATA Retrieves data from the clipboard 1 U,146 GETCLIPBOARDFORMATNAME Retrieves the clipboard format 1 U,140 GETCLIPBOARDOWNER Retrieves the window handle associated with the current clipboard owner 1 U,148 GETCLIPBOARDVIEWER Retrieves the handle of the first window in the clipboard viewer chain 1 G,77 GETCLIPBOX Copies the dimensions of a bounding rectangle 1 G,173 GETCLIPRGN K,93 GETCODEHANDLE Determines which code segment contains a specified function 1 K,104 GETCODEINFO Retrieves information about a code segment 1 U,203 GETCOMMERROR Fills a buffer with the communications status 1 U,209 GETCOMMEVENTMASK Retrieves, then clears, an event mask 1 U,202 GETCOMMSTATE Fills a buffer with a device control block 1 U,326 GETCONTROLBRUSH G,411 GETCURLOGFONT K,157 GETCURPID K,37 GETCURRENTPDB Returns the current DOS Program Data Base (PDB)m also known as the Program Segment Prefix(PSP) 1 G,78 GETCURRENTPOSITION Retrieves logical coords of current position 1 K,36 GETCURRENTTASK Returns the task handle of the current task 1 U,15 GETCURRENTTIME Retrieves the current Window time 1 U,17 GETCURSORPOS Stores the cursor position (in screen coordinates) 1 U,66 GETDC Retrieves the display context for the client area 1 G,79 GETDCORG Retrieves the original of a specified device context 1 G,179 GETDCSTATE U,278 GETDESKTOPHWND U,286 GETDESKTOPWINDOW Returns the window handle to the Windows desktop window (which covers the entire screen) 1 G,80 GETDEVICECAPS Retrieves device-specific information about a given display device 1 U,243 GETDIALOGBASEUNITS Retrieves the base dialog units used by windows when creating a dialog box 1 G,441 GETDIBITS Retrieves the bits in memory for a specific bitmap in device-independent form. This function is similar to getbits 1 U,277 GETDLGCTRLID Returns the ID value of a control window 1 U,91 GETDLGITEM Retrieves the handle of a dialog item from the given dialog box 1 U,95 GETDLGITEMINT Translates the control text of an item into a integer value 1 U,93 GETDLGITEMTEXT Copies an item's control text into a string 1 K,131 GETDOSENVIRONMENT Retrieves the environment string of the currently running task 1 U,21 GETDOUBLECLICKTIME Retrieves the current double-click time for the mouse 1 *,450 GETDRIVERRESOURCEID Obtains the named resource ID 3 K,136 GETDRIVETYPE Determines whether a disk drive is removable, fixed or remote 1 G,133 GETENVIRONMENT Copies enviroment information into a buffer 1 K,133 GETEXEPTR K,105 GETEXEVERSION K,167 GETEXPWINVER U,343 GETFILEPORTNAME U,23 GETFOCUS Retrieves the handle of the window that currently owns the input focus 1 K,169 GETFREESPACE Retrieves the number of bytes available in the global heap 1 *** GETGVALUE Macro, extracts the green value from an RGB value 1 K,138 GETHEAPSPACES U,455 GETICONID U,335 GETINPUTSTATE Returns TRUE if there is mouse or keyboard input 1 K,54 GETINSTANCEDATA Copies data from an offset in one instance to an offset in another instance 1 U,460 GETINTERNALWINDOWPOS B,132 GETKBCODEPAGE Determines which OEM/ANSI tables are loaded 1 U,222 GETKEYBOARDSTATE Copies an array that contains the state of keyboard keys 1 B,130 GETKEYBOARDTYPE Retrieves the system-keyboard type 1 B,133 GETKEYNAMETEXT Retrieves a string containing the name of a key from a list maintained by the keyboard driver 1 U,106 GETKEYSTATE Retrieves the state of a virtual key 1 U,287 GETLASTACTIVEPOPUP Determines which popup window owned by another window was most recently active 1 K,98 GETLASTDISKCHANGE K,99 GETLPERRMODE G,81 GETMAPMODE Retrieves the current mapping mode 1 U,157 GETMENU Retrieves a handle to the menu of a specified window 1 U,417 GETMENUCHECKMARKDIMENSIONS Retrieves the dimensions of the default menu checkmark bitmap 1 U,263 GETMENUITEMCOUNT Returns the item's identification 1 U,264 GETMENUITEMID Obtains the menu-item identifier 1 U,250 GETMENUSTATE Obtains the status of a menu item 1 U,161 GETMENUSTRING Copies a menu label into a string 1 U,108 GETMESSAGE Retrieves a message from the specified range of messages 1 U,323 GETMESSAGE2 U,119 GETMESSAGEPOS Returns the positions of the mouse at the time the last message was retrieved 1 U,120 GETMESSAGETIME Returns the time at which the last message was retrieved 1 G,124 GETMETAFILE Creates a handle to a metafile 1 G,159 GETMETAFILEBITS Stores a metafile as a collection of bits in a global memory block 1 K,49 GETMODULEFILENAME Copies a module filename 1 K,47 GETMODULEHANDLE Returnes the module handle of a module 1 K,48 GETMODULEUSAGE Returns the reference count of a module 1 U,337 GETMOUSEEVENTPROC G,154 GETNEARESTCOLOR Returns the closest logical colour to a specified logical colour the given device can represent 1 G,370 GETNEARESTPALETTEINDEX Retrieves the index of a logical palette entry most nearly matching a specified RGB value 1 U,227 GETNEXTDLGGROUPITEM Returns the window handle of the next item in a group 1 U,228 GETNEXTDLGTABITEM Returns the window handle of the next or previous item 1 U,274 GETNEXTQUEUEWINDOW U,230 GETNEXTWINDOW Returns a handle to the next or previous window 1 K,152 GETNUMTASKS Returns the number of tasks currently executing in the system 1 G,82 GETOBJECT Copies the bytes of logical data that define an object 1 *,23 GETPALETTE Queries the colour palette 3 G,363 GETPALETTEENTRIES Retrieves entries from a logical palette 1 *,25 GETPALTRANS Queries the current palette logical translation 3 U,46 GETPARENT Retrieves the handle of the specified window's parent window 1 G,352 GETPHYSICALFONTHANDLE G,83 GETPIXEL Retrieves the RGB value for a pixel 1 G,84 GETPOLYFILLMODE Retrieves the current polygon-filling mode 1 U,402 GETPRIORITYCLIPBOARDFORMAT Retrieves data from the clipboard in the first format in a prioritized format list 1 K,127 GETPRIVATEPROFILEINT Returns an integer value in a section from a private initialization file 1 K,128 GETPRIVATEPROFILESTRING Returns a character string in a section from a private initialization file 1 K,50 GETPROCADDRESS Returns the address of a function in a module 1 K,57 GETPROFILEINT Returns an integer value in a section from the WIN.INI file 1 K,58 GETPROFILESTRING Returns a character string in a section from the WIN.INI file U,25 GETPROP Retrieves a handle associated with a string from the window property list 1 U,334 GETQUEUESTATUS G,86 GETRELABS G,134 GETRGNBOX Retrieves the coordinates of the bounding rectangle of a region 1 G,85 GETROP2 Retrieves the current drawing mode 1 *** GETRVALUE Macro, extracts the red value from an RGB value 1 U,63 GETSCROLLPOS Retrieves the current position of the scroll-bar thumb 1 U,65 GETSCROLLRANGE Copies the minimum and maximum scroll-bar positions for given scroll-bar positions for a specified scroll 1 K,186 GETSELECTORBASE Queries the linear base address of the specified selector 3 K,188 GETSELECTORLIMIT Queries the limit of the specified selector 3 G,245 GETSPOOLJOB G,87 GETSTOCKOBJECT Retrieves a handle to one of the predefined stock pens, brushes, fonts, or color palettes 1 G,88 GETSTRETCHBLTMODE Retrieves the current stretching mode 1 U,159 GETSUBMENU Retrieves the menu handle of a pop-up menu 1 U,180 GETSYSCOLOR Retrieves the system color 1 U,189 GETSYSMODALWINDOW Returns the handle of a system-modal window 1 K,135 GETSYSTEMDIRECTORY Retrieves the pathname of the Windows system sub-directory 1 U,156 GETSYSTEMMENU Accesses the System menu for copying and modification 1 U,179 GETSYSTEMMETRICS Retrieves information about the system metrics 1 S,6 GETSYSTEMMSECCOUNT Queries the amount of elapsed time 3 G,375 GETSYSTEMPALETTEENTRIES Retrieves a range of palette entries from the system palette 1 G,374 GETSYSTEMPALETTEUSE Determines whether an application has access to the full system palette 1 U,197 GETTABBEDTEXTEXTENT Computes the width and height of a line of text containing tab characters 1 B,126 GETTABLESEG Internal function, no external purpose 3 K,155 GETTASKDS U,117 GETTASKFROMHWND K,35 GETTASKQUEUE K,118 GETTASKQUEUEDS K,119 GETTASKQUEUEES K,92 GETTEMPDRIVE Returns the letter of the optimal drive for temporary file storage 1 K,97 GETTEMPFILENAME Creates a temporary filename 1 G,345 GETTEXTALIGN Returns a mask of the text alignment flags 1 G,89 GETTEXTCHARACTEREXTRA Retrieves current character interspacing 1 G,90 GETTEXTCOLOR Retrieves the current text color 1 G,91 GETTEXTEXTENT Uses the current font to compute the width and height of text 1 G,92 GETTEXTFACE Copies the current font name to a buffer 1 G,93 GETTEXTMETRICS Fills the buffer with metrics for the selected font 1 O,14 GETTHRESHOLDEVENT Retrieves a flag that identifies a recent thrshold event 1 O,15 GETTHRESHOLDSTATUS Retrieves the threshold-event status for each voice 1 U,13 GETTICKCOUNT Returns the number of timer ticks recorded since the system was booted 1 U,14 GETTIMERRESOLUTION U,229 GETTOPWINDOW Returns a handle to the top-level child window 1 U,190 GETUPDATERECT Copies the dimensions of a window region's bounding rectangle 1 U,237 GETUPDATERGN Copies a window's update region 1 K,3 GETVERSION Returns the current version number of windows 1 G,94 GETVIEWPORTEXT Retrieves a device context's viewport extents 1 G,95 GETVIEWPORTORG Retrieves a device context's viewport origin 1 U,318 GETWC2 U,262 GETWINDOW Returns a handle from the window manager's list 1 U,67 GETWINDOWDC Retrieves the display context for an entire window 1 G,96 GETWINDOWEXT Retrieves a device context's window extends 1 U,135 GETWINDOWLONG Retrieves information about a window 1 G,97 GETWINDOWORG Retrieves a device context's window origin 1 U,32 GETWINDOWRECT Copies the dimensions of an entire window 1 K,134 GETWINDOWSDIRECTORY Retrieves the pathname of the Windows directory 1 U,224 GETWINDOWTASK Returns the handle of a task associated with a window 1 U,36 GETWINDOWTEXT Copies a window caption into a buffer 1 U,38 GETWINDOWTEXTLENGTH Returns the length (in characters) of a given window's caption or text 1 U,133 GETWINDOWWORD Retrieves information about a window 1 K,132 GETWINFLAGS Retrieves information about the system memory configuration 1 U,268 GLOBALADDATOM Creates a global atom for a character sting 1 K,15 GLOBALALLOC Allocates memory from the global heap 1 K,25 GLOBALCOMPACT Compacts global memory to generate free bytes 1 U,269 GLOBALDELETEATOM Deletes a global atom if the reference count is zero 1 *** GLOBALDISCARD Discards a global memory block 1 K,184 GLOBALDOSALLOC Allocates global memory that can be accessed by DOS running in real or protected mode 1 K,185 GLOBALDOSFREE Frees global memory previously allocated by the GlobalDosAlloc function 1 T,54 GLOBALENTRYHANDLE T,55 GLOBALENTRYMODULE U,270 GLOBALFINDATOM Retrieves a global atom associated with a character string 1 T,51 GLOBALFIRST K,197 GLOBALFIX Prevents a global memory block from moving in linear memory 1 K,22 GLOBALFLAGS Returns the flags and lock count of a global memory block 1 K,17 GLOBALFREE Removes a global memory and invalidates the handle of the memory block 1 K,26 GLOBALFREEALL U,271 GLOBALGETATOMNAME Copies the character string associated with a global atom 1 K,21 GLOBALHANDLE Retrieves the handle of a global memory object 1 K,159 GLOBALHANDLENORIP T,50 GLOBALHANDLETOSEL T,53 GLOBALINFO K,18 GLOBALLOCK Retrieves a pointer to global memory block specified by a handle. Except for nondiscardable objects in protected (standard or 386 enhanced) mode, the block is locked into memory at the given address and its lock count is increased by one 1 K,164 GLOBALLRUNEWEST Moves a global memory object to the newest least-recently-used (LRU) position 1 K,163 GLOBALLRUOLDEST Moves a global memory object to the oldest least recently used (LRU) position 1 K,28 GLOBALMASTERHANDLE T,52 GLOBALNEXT K,154 GLOBALNOTIFY Installs a notificaton procedure for the current task 1 K,191 GLOBALPAGELOCK Page-locks the memory associated with the specified global selector and increments its page-lock count. Memory that is page-locked connot be moved or paged out to disk 1 K,192 GLOBALPAGEUNLOCK Decrements the page-lock count for a block of memory, If the page-lock count reaches zero, the memory can be moved and paged out to disk 1 K,16 GLOBALREALLOC Reallocates a global memory block 1 K,20 GLOBALSIZE Returns the size (in bytes) of a global memory block 1 K,198 GLOBALUNFIX Unlocks a global memory block previously fixed by the GlobalFix function 1 K,19 GLOBALUNLOCK Invalidates the pointer to a global memory block previously retrieved by the GlobalLock function. In real mode, or if the block is discardable, GlobalUnlock decreases the block's lock count by one 1 K,112 GLOBALUNWIRE Decreases the lock count set by the GlobalWire function, and unlocks the memory block if the count is zero 1 K,111 GLOBALWIRE Moves an object to low memory and increases the lock count 1 U,185 GRAYSTRING Writes the characters of a string using gray text 1 G,137 GSV *** HIBYTE Macro, retrieves the high-order byte from integer value 1 U,166 HIDECARET Removes a caret from a given window 1 U,162 HILITEMENUITEM Highlights or removes the highlighting from a top-level (menu bar) 1 *** HIWORD Macro, retrieves the hi-word from 32-bit integer 1 U,86 ICONSIZE U,78 INFLATERECT Expands or shrinks the specified rectangle 1 U,5 INITAPP K,68 INITATOMTABLE Initializes an atom hash table 1 K,116 INITLIB K,91 INITTASK K,141 INITTASK1 B,1 INQUIRE Returns the keyboard configuration structure 3 D,101 INQUIRE Queries the mickey-to-pixel ratio for the display 3 M,1 INQUIRE Queries information about the mouse characteristics 3 S,1 INQUIRESYSTEM Queries various system configuration parameters 3 G,131 INQUIREVISRGN U,192 INSENDMESSAGE Determines whether the current window function is processing a message passed to it through a call to the SendMessage function. 1 U,410 INSERTMENU Inserts a menu item in a menu 1 G,233 INSERTPQ Adds an entry to a GDI priority queue 3 G,118 INTERNALCREATEDC T,75 INTERRUPTREGISTER T,76 INTERRUPTUNREGISTER G,22 INTERSECTCLIPRECT Forms the intersection of a clipping region and a rectangle 1 U,79 INTERSECTRECT Finds the intersection of two rectangles 1 G,98 INTERSECTVISRECT U,125 INVALIDATERECT Marks a rectangle for repainting 1 U,126 INVALIDATERGN Marks a region for repainting 1 U,82 INVERTRECT Inverts the display bits of the specified rectangle 1 G,42 INVERTRGN Inverts the colors in a region 1 U,433 ISCHARALPHA Determines whether a character is alphabetical 1 U,434 ISCHARALPHANUMERIC Determines whether a character is alphanumeric 1 U,436 ISCHARLOWER Determines whether a character is lowercase 1 U,435 ISCHARUPPER Determines wheater a character is uppercase 1 U,48 ISCHILD Determines whether a window is the descendent of a specified window 1 U,193 ISCLIPBOARDFORMATAVAILABLE Returns TRUE if the data in the given format is available 1 G,412 ISDCCURRENTPALETTE G,169 ISDCDIRTY U,90 ISDIALOGMESSAGE Determines whether a message is intended for the given dialog box 1 U,98 ISDLGBUTTONCHECKED Tests whether a button is checked 1 U,31 ISICONIC Specifies whether a window is open or closed (iconic). 1 U,75 ISRECTEMPTY Determines whether a rectangle is empty 1 K,122 ISTASKLOCKED U,51 ISTWOBYTECHARPREFIX U,333 ISUSERIDLE G,410 ISVALIDMETAFILE U,47 ISWINDOW Determines whether a window is a valid, existing window 1 U,35 ISWINDOWENABLED Determines whether the specified window is enabled for mouse and keyboard input 1 U,49 ISWINDOWVISIBLE Determines whether the given window is visible 1 K,158 ISWINOLDAPTASK U,272 ISZOOMED Determines whether a window is maximized 1 K,123 KBDRST S,3 KILLSYSTEMTIMER Frees a timer to be used by a device driver 3 U,182 KILLSYSTEMTIMER U,12 KILLTIMER Kills the specified timer event 1 U,327 KILLTIMER2 U,453 LBOXCARETBLINKER U,307 LBOXCTLWNDPROC K,156 LIMITEMSPAGES Limits the amount of expanded memory that Windows will assign to an application 1 G,100 LINEDDA Computes successive points on a line 1 G,19 LINETO Draws a line with the selected pen 1 U,177 LOADACCELERATORS Loads an accelerator table 1 U,175 LOADBITMAP Loads a bitmap from a resource file 1 U,173 LOADCURSOR Loads a cursor from the resource file 1 U,336 LOADCURSORICONHANDLER U,356 LOADDIBCURSORHANDLER U,357 LOADDIBICONHANDLER U,174 LOADICON Loads an icon resource 1 U,456 LOADICONHANDLER K,95 LOADLIBRARY Loads a library module 1 U,150 LOADMENU Loads a menu resource 1 U,220 LOADMENUINDIRECT Loads a menu resource 1 K,45 LOADMODULE Executes a spearate application 1 K,61 LOADRESOURCE Loads a resource 1 U,176 LOADSTRING Loads a string resource 1 *** LOBYTE Macro, extracts the lo-byte from short-integer value 1 K,5 LOCALALLOC Allocates memory from the local heap 1 K,13 LOCALCOMPACT Compacts local memory 1 K,161 LOCALCOUNTFREE *** LOCALDISCARD Discards a local memory block 1 T,57 LOCALFIRST K,12 LOCALFLAGS Returns the memory type of a local memory block 1 K,7 LOCALFREE Frees a local memory block from memory if the lock count is zero and invalidates the handle of the memory block 1 K,11 LOCALHANDLE Retrieves the handle of a local memory object 1 K,162 LOCALHEAPSIZE T,56 LOCALINFO K,4 LOCALINIT Initializes a local heap in the specified segment 1 K,8 LOCALLOCK Locks a block of local memory by increasing its lock count 1 T,58 LOCALNEXT K,14 LOCALNOTIFY K,6 LOCALREALLOC Reallocates a local memory block 1 K,121 LOCALSHRINK Shrinks the local heap 1 K,10 LOCALSIZE Returns the size (in bytes) of a local memory block 1 K,9 LOCALUNLOCK Unlocks a local memory block 1 K,33 LOCKCURRENTTASK *** LOCKDATA Macro, locks the current data segment in memory 1 U,276 LOCKMYTASK K,62 LOCKRESOURCE Retrieves the absolute memory address of a resource 1 K,23 LOCKSEGMENT Locks a specified data segment in memory 1 K,180 LONGPTRADD U,217 LOOKUPMENUHANDLE *** LOWORD Macro, extracts the lo-word from 32-bit integer value 1 G,99 LPTODP Converts logical points into device points 1 K,89 LSTRCAT Concatenates two strings 1 U,430 LSTRCMP Compares two strings 1 U,471 LSTRCMPI Compares two strings 1 K,88 LSTRCPY Copies a string 1 K,90 LSTRLEN Returns the length of a string 1 G,171 LVBUNION *** MAKEINTATOM Macro, creates an integer atom 1 *** MAKEINTRESOURCE Macro, creates an integer atom 1 *** MAKELONG Macro, converts an integer value into a long pointer to a string, with hi-word = 0 1 *** MAKEPOINT Macro, converts a long value with x,y coords to a POINT structure 1 K,51 MAKEPROCINSTANCE Returns a function - instance address 1 U,103 MAPDIALOGRECT Converts the dialog-box coordinates to client coordinates 1 B,131 MAPVIRTUALKEY Accepts a virtual-key code or scan code for a key and returns the corresponding scan code, virtual-key code, or ASC11 value 1 *** MAX Macro, returns greater of two values 1 U,409 MB_DLGPROC U,444 MDICLIENTWNDPROC T,72 MEMMANINFO K,126 MEMORYFREED T,78 MEMORYREAD T,79 MEMORYWRITE U,329 MENUITEMSTATE U,306 MENUWNDPROC U,104 MESSAGEBEEP Generates a beep in the system speaker 1 U,1 MESSAGEBOX Creates a window with the given text and caption 1 G,347 MFDRAWTEXT *** MIN Macro, returns lesser of two values 1 G,231 MINPQ Queries the highest priority entry in a GDI priority queue 3 U,414 MODIFYMENU Changes a menu item 1 T,62 MODULEFINDHANDLE T,61 MODULEFINDNAME T,59 MODULEFIRST T,60 MODULENEXT M,4 MOUSEGETINTVECT Queries the interrupt level used by the mouse hardware 3 D,103 MOVECURSOR Moves the pointer to the specified position 3 G,20 MOVETO Moves the current position to the specified point 1 U,56 MOVEWINDOW Changes the size and position of a window 1 G,128 MULDIV Multiplies two word-length values & divides by a third word-length value. Result rounded to integer 1 O,18 MYOPENSOUND K,103 NETBIOSCALL Issues a NETBIOS 5CH interrupt 1 B,127 NEWTABLE Loads the keyboard translation tables 3 K,******01 NOHOOKDOSCALL T,73 NOTIFYREGISTER T,74 NOTIFYUNREGISTER B,128 OEMKEYSCAN Maps OEM ASCII codes O through OFFh into the OEM scan codes and shift states 1 B,6 OEMTOANSI Converts an OEM character string to an ANSI string 1 B,135 OEMTOANSIBUFF Converts an OEM character string in a buffer to an ANSI string 1 G,32 OFFSETCLIPRGN Moves a clipping region 1 G,143 OFFSETORG U,77 OFFSETRECT Moves a given rectangle 1 G,101 OFFSETRGN Moves the given region 1 G,17 OFFSETVIEWPORTORG Modifies a viewport origin 1 G,102 OFFSETVISRGN G,15 OFFSETWINDOWORG Modifies a window origin 1 U,2 OLDEXITWINDOWS K,117 OLDYIELD U,137 OPENCLIPBOARD Opens the clipboard 1 U,200 OPENCOMM Opens a communication device 1 K,74 OPENFILE Creates, opens, reopens, or delets the specified file 1 U,44 OPENICON Opens the specified window 1 G,240 OPENJOB K,75 OPENPATHNAME O,1 OPENSOUND Accesses the play device 1 *,15 OUTPUT Draws shapes 3 D,8 OUTPUT E,8 OUTPUT K,115 OUTPUTDEBUGSTRING Sends a debugging message to the debugger if present, or to the AUX device if the debugger is not present 1 U,325 PAINTRECT G,43 PAINTRGN Fills the region with the selected brush pattern 1 *** PALETTEINDEX Macro, converts an index to a logical colour palette to a palette-entry specifier 1 *** PALETTERGB Macro, converts r,g,b intensities to a palette-relative specifier 1 G,29 PATBLT Creates a bit pattern 1 K,110 PATCHCODEHANDLE U,109 PEEKMESSAGE checks the application queue and places the message appropriately 1 D,400 PEXTTEXTOUT G,26 PIE Draws a pie 1 D,9 PIXEL Sets or queries the specified pixel state 3 E,9 PIXEL G,164 PIXTOLINE G,123 PLAYMETAFILE Plays the contents of a specified metafile 1 G,176 PLAYMETAFILERECORD Plays a metafile record 1 G,36 POLYGON Draws a polygon 1 G,37 POLYLINE Draws a set of line segements 1 G,450 POLYPOLYGON Draws a series of closed polygons that are filled as though they were a single polygon 1 U,116 POSTAPPMESSAGE posts a message to the application 1 K,31 POSTEVENT U,110 POSTMESSAGE places a message in the application queue 1 U,313 POSTMESSAGE2 U,6 POSTQUITMESSAGE posts a WM-QUIT message to the application 1 K,177 PRESTOCHANGOSELECTOR Obtains an alias to a code or data selector 3 *** PROFCLEAR Profiler func, discards all samples in sampling buffer 1 *** PROFFINISH Profiler func, stops sampling, flushes o/p buffer 1 *** PROFFLUSH Profiler func, flushes sampling buffer 1 *** PROFINSCHK Profiler func, checks if Profiler installed 1 *** PROFSAMPRATE Profiler func, sets rate of code sampling 1 *** PROFSETUP Profiler func, 386-enhanced, setup 1 *** PROFSTART Profiler func, starts sampling 1 *** PROFSTOP Profiler func, stops sampling 1 D,401 PSTRBLT U,76 PTINRECT Indicates whether a specified point lies within a given rectangle 1 G,161 PTINREGION Tests whether a point is within a region 1 G,103 PTVISIBLE Tests whether a point lies in a region 1 G,155 QUERYABORT *,9 QUERYDEVICENAMES Returns an array of the supported driver model names 3 G,248 QUERYJOB G,177 RCOS U,204 READCOMM Reads the bytes from a communication device into a buffer 1 G,365 REALIZEDEFAULTPALETTE D,10 REALIZEOBJECT Creates or destroys the structures necessary for using pen, brush or font on the physical device 3 E,10 REALIZEOBJECT U,283 REALIZEPALETTE Maps entries in a logical palette to the system palette 1 G,27 RECTANGLE Draws a rectangle 1 G,181 RECTINREGION Test whether any part of a rectangle is within a region 1 G,142 RECTSTUFF G,104 RECTVISIBLE Determines whether a part of a rectangle lies in a region 1 U,57 REGISTERCLASS Registers a window class 1 U,145 REGISTERCLIPBOARDFORMAT Registers a new clipboard format 1 K,202 REGISTERPTRACE U,118 REGISTERWINDOWMESSAGE Defines a new unique window message 1 U,19 RELEASECAPTURE Releases mouse input and restores normal input processing 1 U,68 RELEASEDC Releases a display context 1 G,136 REMOVEFONTRESOURCE Removes a font resource from the font table 1 U,412 REMOVEMENU Removes an item from a menu but does not destroy it 1 U,24 REMOVEPROP Removes a string from the property list 1 U,275 REPAINTSCREEN Tells the GDI to repaint the entire display 3 K,201 REPLACEINST U,115 REPLYMESSAGE Replies to a message 1 K,77 RESERVED1 K,78 RESERVED2 K,79 RESERVED3 K,80 RESERVED4 K,87 RESERVED5 G,368 RESIZEPALETTE Changes the size of the logical palette 1 S,9 RESTORE80X87STATE G,39 RESTOREDC Restores a device context 1 G,130 RESTOREVISRGN G,122 RESURRECTION D,402 REXTTEXTOUT *** RGB Macro, selects an RGB colour 1 G,28 ROUNDRECT Draws a rounded rectangle 1 G,178 RSIN D,403 RSTRBLT S,8 SAVE80X87STATE G,30 SAVEDC Saves the current state of the device context 1 D,92 SAVESCREENBITMAP Saves or restores a rectangular portion of the video display 1 G,129 SAVEVISRGN U,304 SBWNDPROC G,140 SCALEEXT G,18 SCALEVIEWPORTEXT Modifies the viewport extents 1 G,16 SCALEWINDOWEXT Modifies the window extents 1 D,12 SCANLR Scans physical bitmap for the specified pixel 3 E,12 SCANLR G,135 SCANLR B,100 SCREENSWITCHENABLE ? 3 U,29 SCREENTOCLIENT Converts screen coordinates into client coordinates 1 U,463 SCROLLCHILDREN U,221 SCROLLDC Scrolls a rectangle of bits horizontally and vertically 1 U,61 SCROLLWINDOW Moves the contents of the client area 1 *,29 SELECTBITMAP Selects a physical bitmap 3 G,44 SELECTCLIPRGN Selects a clipping region 1 G,45 SELECTOBJECT Select an object as the current object 1 K,196 SELECTORACCESSRIGHTS Sets the attributes of the specified selector 3 U,282 SELECTPALETTE Selects a logical palette into a device context 1 G,105 SELECTVISRGN U,101 SENDDLGITEMMESSAGE Sends a message to an item within a dialog box 1 U,111 SENDMESSAGE Sends a message to a window or windows 1 U,312 SENDMESSAGE2 U,59 SETACTIVEWINDOW Makes a window the active window 1 D,18 SETATTRIBUTE Reserved by Microsoft 3 E,18 SETATTRIBUTE G,106 SETBITMAPBITS sets the bits of a bitmap 1 G,163 SETBITMAPDIMENSION Sets the height and width of a bitmap 1 G,1 SETBKCOLOR Sets the background color 1 G,2 SETBKMODE Sets the background mode 1 G,148 SETBRUSHORG Sets the origin of all brushes selected into a given device context 1 U,18 SETCAPTURE Causes mouse input to be sent to a specified window 1 U,168 SETCARETBLINKTIME Establishes the caret flash rate 1 U,165 SETCARETPOS Moves a caret to the specified position 1 U,132 SETCLASSLONG Replaces information in a WNDCLASS structure 1 U,130 SETCLASSWORD Replaces information in a WNDCLASS structure 1 U,141 SETCLIPBOARDDATA Copies a handle for data 1 U,147 SETCLIPBOARDVIEWER Adds a handle to the clipboard viewer chain 1 U,210 SETCOMMBREAK Sets a break state on the communication device 1 U,208 SETCOMMEVENTMASK Retrieves and then sets an event mask on the communication device 1 U,201 SETCOMMSTATE Sets a communciation device to the state specified by the device control block 1 D,102 SETCURSOR Sets or clears the display pointer bitmap 3 U,69 SETCURSOR Sets the cursor shape 1 U,70 SETCURSORPOS Sets the position of the cursor 1 G,117 SETDCORG G,180 SETDCSTATE G,170 SETDCSTATUS U,279 SETDESKPATTERN U,285 SETDESKWALLPAPER G,440 SETDIBITS Sets a memory bitmap's from a DIB. This function is similar to SetBitmapBits. 1 *,21 SETDIBITSTODEVICE Copies a bitmap from device-independent format to the display 3 G,443 SETDIBITSTODEVICE Sets bits on a device surface directly from a DIB 1 U,94 SETDLGITEMINT Sets the caption or text of an item to a string that represents an integer 1 U,92 SETDLGITEMTEXT Sets the caption or text of an item to a string 1 U,20 SETDOUBLECLICKTIME Sets the double-click time for the mouse 1 G,132 SETENVIRONMENT Copies data to the environment associated with an attached device 1 K,107 SETERRORMODE Controls whether Windows handles DOS Function 24H errors or allows the colling application to handle them 1 U,321 SETEVENTHOOK U,22 SETFOCUS Assigns the input focus to a specified window 1 U,330 SETGETKBDSTATE U,284 SETGRIDGRANULARITY K,199 SETHANDLECOUNT Changes the number of file handles available to a task 1 U,461 SETINTERNALWINDOWPOS U,223 SETKEYBOARDSTATE Sets the state of keyboard keys be altering values in an array 1 G,3 SETMAPMODE Sets the mapping mode of a specified device context 1 G,349 SETMAPPERFLAGS Alters the algorithm the font mapper uses 1 U,158 SETMENU Specifies a new menu for a window 1 U,418 SETMENUITEMBITMAPS Associates bitmaps with a menu item for display when an item is and is not checked 1 U,266 SETMESSAGEQUEUE creates a new message queue of a different size 1 G,160 SETMETAFILEBITS Creates a memory metafile 1 *,22 SETPALETTE Sets the colour palette 3 G,364 SETPALETTEENTRIES Sets new palette entries in a logical palette; Windows does not map the new entries to the system palette until the application realizes the logical palette 1 *,24 SETPALTRANS Sets the logical palette translation 3 U,233 SETPARENT Changes the parent window of a child window 1 G,31 SETPIXEL Sets the RGB value for a pixel 1 G,6 SETPOLYFILLMODE Sets the polygon-filling mode 1 K,32 SETPRIORITY U,26 SETPROP Copies a string and a data handle to a window's property list 1 U,72 SETRECT Creates a new rectangle 1 U,73 SETRECTEMPTY Sets a rectangle to an empty rectangle 1 G,172 SETRECTRGN Creates a rectangular region 1 G,5 SETRELABS K,67 SETRESOURCEHANDLER Sets up a function to load resources 1 G,4 SETROP2 Sets the current drawing mode 1 U,62 SETSCROLLPOS Sets the scroll-bar thumb 1 U,64 SETSCROLLRANGE Sets the minumun and maximum scroll-bar positions 1 K,187 SETSELECTORBASE Sets the linear base address of the specified selector 3 K,189 SETSELECTORLIMIT Sets the limit of the specified selector 3 K,140 SETSIGHANDLER O,7 SETSOUNDNOISE Sets source and duration of a noise 1 B,7 SETSPEED G,7 SETSTRETCHBLTMODE Sets the stretching mode 1 K,106 SETSWAPAREASIZE Increases the amount of memory that an application reserves for code segments 11 U,181 SETSYSCOLORS Changes one or more system colors 1 U,188 SETSYSMODALWINDOW Makes the specified window a system modal window 1 U,280 SETSYSTEMMENU G,373 SETSYSTEMPALETTEUSE Allows an application to use the full system palette 1 U,11 SETSYSTEMTIMER K,34 SETTASKQUEUE K,38 SETTASKSIGNALPROC G,346 SETTEXTALIGN Positions a string of text on a display or device 1 G,8 SETTEXTCHARACTEREXTRA Sets the intercharacter spacing 1 G,9 SETTEXTCOLOR Sets the text color 1 G,10 SETTEXTJUSTIFICATION Justifies a text line 1 U,10 SETTIMER Creates a system-timer event 1 U,328 SETTIMER2 G,14 SETVIEWPORTEXT Sets a device context's viewport extents 1 G,13 SETVIEWPORTORG Sets a device context's viewport origin 1 O,5 SETVOICEACCENT Places an accent in the voice queue 1 O,6 SETVOICEENVELOPE Queues the envelope in the voice queue 1 O,4 SETVOICENOTE Queues a note in the voice queue 1 O,3 SETVOICEQUEUESIZE Sets voice queue size 1 O,8 SETVOICESOUND Queues frequency & duration in voice queue 1 O,16 SETVOICETHRESHOLD Sets threshold for given voice 1 U,319 SETWC2 G,12 SETWINDOWEXT Sets a device context's window extents 1 U,136 SETWINDOWLONG Changes a window attribute 1 G,11 SETWINDOWORG Sets a device context's window origin 1 U,232 SETWINDOWPOS Changes the size, position, and ordering of child or pop-up windows 1 U,121 SETWINDOWSHOOK Installs a system and/or application filter function 1 U,37 SETWINDOWTEXT Sets the window caption or text 1 U,134 SETWINDOWWORD Changes a window attribute 1 G,139 SETWINVIEWEXT U,167 SHOWCARET Displays the newly created or redisplays a hidden caret 1 U,71 SHOWCURSOR Increases or decreases the cursor display count 1 U,265 SHOWOWNEDPOPUPS Shows or hides all pop-up windows 1 U,267 SHOWSCROLLBAR Displays or hides a scroll bar and its controls 1 U,42 SHOWWINDOW Displays or removes the given window 1 G,354 SHRINKGDIHEAP U,314 SIGNALPROC K,65 SIZEOFRESOURCE Supplies the size (in bytes) of a resource 1 G,234 SIZEPQ Changes the size of a GDI priority queue 3 U,281 SNAPWINDOW T,67 STACKTRACECSIPFIRST T,66 STACKTRACEFIRST T,68 STACKTRACENEXT O,9 STARTSOUND Starts play in each voice queue 1 G,246 STARTSPOOLPAGE U,302 STATICWNDPROC O,10 STOPSOUND Stops playing all voice queues 1 D,11 STRBLT E,11 STRBLT *,27 STRETCHBLT Scales bitmap between memory and device 3 G,35 STRETCHBLT Copies a bitmap from a source to a destination device (compresses or stretches, if necessary) 1 *,28 STRETCHDIBITS Transfers and scales a bitmap between device-dependent and device-independent formats 3 G,439 STRETCHDIBITS Moves a device-independent bitmap(DIB) from a source rectangle into a destination rectangle stretching or compressing the bitmap as required 1 U,470 STRINGFUNC G,185 STUFFINREGION G,184 STUFFVISIBLE U,186 SWAPMOUSEBUTTON Reverses the meaning of left and right mouse buttons 1 K,204 SWAPRECORDING Begins or ends analyzing by Swap of the application's swapping behavior 1 K,109 SWITCHSTACKBACK Returns the stack of the current task to the task's data segment after it had been previously redirected by the SwitchTasksBack function 1 K,108 SWITCHSTACKTO Changes the stack of the current task to the specified data segment, such as the data segment of a dynamic-link library (DLL) 1 U,172 SWITCHTOTHISWINDOW U,347 SWITCHWNDPROC O,12 SYNCALLVOICES Queues a sync mark in each voice queue 1 U,320 SYSERRORBOX T,71 SYSTEMHEAPINFO U,196 TABBEDTEXTOUT Writes a character string with expanded tabs, using the current font 1 U,354 TABTHETEXTOUTFORWIMPS T,65 TASKFINDHANDLE T,63 TASKFIRST T,82 TASKGETCSIP T,64 TASKNEXT T,81 TASKSETCSIP T,83 TASKSWITCH T,77 TERMINATEAPP G,33 TEXTOUT Writes a character string using the current font 1 K,56 THROW Restores the execution environment to the specified values 1 U,199 TILECHILDWINDOWS T,80 TIMERCOUNT U,345 TITLEWNDPROC B,4 TOASCII Translates a virtual-key code to the corresponding ANSI character or characters 1 U,416 TRACKPOPUPMENU Displays a pop-up menu at a specified screen location and tracks user interaction with the menu 1 U,178 TRANSLATEACCELERATOR processes keyboard accelerators for menu commands 1 U,451 TRANSLATEMDISYSACCEL processes multiple document interface (MDI) child window command accelerators 1 U,113 TRANSLATEMESSAGE Translates virtual key-stroke messages into character messages 1 U,206 TRANSMITCOMMCHAR Places a character at the head of the transmit queue 1 K,120 UNDEFDYNLINK U,212 UNGETCOMMCHAR Specifies which character will be the next character to be read 1 U,234 UNHOOKWINDOWSHOOK Removes a Window filter function from a filter function chain 1 U,80 UNIONRECT Stores the union of two rectangles 1 *** UNLOCKDATA Macro, unlocks the current data segment 1 *** UNLOCKRESOURCE Macro, unlocks a resource 1 K,24 UNLOCKSEGMENT Unlocks a specified data segment 1 G,150 UNREALIZEOBJECT Directs GDI to reset the origin of the given brush 1 U,403 UNREGISTERCLASS Removes a window class from the window-class table 1 *,26 UPDATECOLORS Updates the colours in the specified display rectangle 3 G,366 UPDATECOLORS Performs a pixel-by-pixel translation of each pixel's current color to the system palette. This allows an inactive window to correct its colors without redrawing its client area 1 U,124 UPDATEWINDOW Notifies the application when parts of a window need redrawing 1 D,500 USERREPAINTDISABLE Suspends or resumes display updates 3 U,332 USERYIELD K,100 VALIDATECODESEGMENTS Determines whether any code segements have been altered by random memory overwrites 1 K,200 VALIDATEFREESPACES Checks free segments in memory for valid contents 1 U,127 VALIDATERECT Releases the specified rectangle from repainting 1 U,128 VALIDATERGN Releases the specified region from repainting 1 B,129 VKKEYSCAN Translates an ANSI character to the corresponding virtual-key code and shift state for the current keyboard 1 K,30 WAITEVENT U,112 WAITMESSAGE Yeilds control to other applications 1 O,11 WAITSOUNDSTATE Waits until the play driver enters the specified state 1 *,17 WEP Prepares the driver to be removed from memory 3 B,8 WEP G,59 WEP M,5 WEP Performs DLL unloading cleanup 3 O,19 WEP S,10 WEP T,1 WEP U,30 WINDOWFROMPOINT Identifies the window containing a specified point 1 K,166 WINEXEC Executes a separate application 1 U,340 WINFARFRAME U,171 WINHELP Runs the windows Help application and passes context or topic information to Help 1 K,151 WINOLDAPCALL U,322 WINOLDAPPHACKOMATIC U,517 WNETADDCONNECTION U,515 WNETBROWSEDIALOG U,518 WNETCANCELCONNECTION U,506 WNETCANCELJOB U,502 WNETCLOSEJOB U,514 WNETDEVICEMODE U,513 WNETGETCAPS U,512 WNETGETCONNECTION U,519 WNETGETERROR U,520 WNETGETERRORTEXT U,516 WNETGETUSER U,504 WNETHOLDJOB U,510 WNETLOCKQUEUEDATA U,501 WNETOPENJOB U,505 WNETRELEASEJOB U,507 WNETSETJOBCOPIES U,511 WNETUNLOCKQUEUEDATA U,509 WNETUNWATCHQUEUE U,508 WNETWATCHQUEUE G,141 WORDSET U,205 WRITECOMM Writes the bytes from a buffer to a communication device 1 G,242 WRITEDIALOG K,129 WRITEPRIVATEPROFILESTRING Copies a character string to a private initialization file, or deletes one or more lines in a private initialization file 1 K,59 WRITEPROFILESTRING Copies a character string to the WIN.INI file, or delects one or more lines from WIN. INI> 1 G,241 WRITESPOOL *** WSPRINTF Formats and stores a series of characters and values in a buffer 1 U,421 WVSPRINTF Formates and stores a characters and values in a buffer. Format arguments are passed through an array. 1 U,315 XCSTODS K,29 YIELD Halts the current task and starts any waiting task 1