Next Previous Up Top Contents Index

2 The Functional Developer Win32 API Libraries

2.2 Supported Win32 libraries

Each Dylan library representing a portion of the Win32 API has a single module of the same name as the library itself. For example, the library Win32-Common has a module also called Win32-Common. An exception to this rule is Win32-User, which also exports the module Win32-Default-Handler.

The libraries are:

Win32-Common

Data types, constants (including error codes), and structure accessors that are shared by the other modules.
Most of these come from the Win32 header files WINDEF.H, WINNT.H, and WINERROR.H. (There is no DLL file supplied as standard with Windows that corresponds with this library, because there are no C functions in the header files to which it forms an interface.)
Win32-Kernel

Non-GUI system services, as implemented in KERNEL32.DLL and declared in WINBASE.H (files, pipes, semaphores, atoms, time, and so on) and WINNLS.H (National Language Support).

Note: This library does not provide thread support. Thread support is being handled at a higher level by Dylan's own Threads library. See the Core Features manual for details.
Win32-GDI

Graphics Device Interface, drawing graphics and text, and printing. Corresponds to WINGDI.H and GDI32.DLL.

Win32-User

Other windowing functions. Corresponds to WINUSER.H and USER32.DLL. Also contains win32-last-handler which can handle conditions and display them to the application user a simply Win32 dialog. That function is exported from the module Win32-Default-Handler.

Win32-Version

Version management. Corresponds to WINVER.H and VERSION.DLL.

Win32-Dialog

Common dialog boxes, as implemented in COMDLG32.DLL and declared in COMMDLG.H, DLGS.H, and CDERR.H.

Win32-Controls

"Common controls", including list view, tree view, property sheets, and so on (COMMCTRL.H and COMCTL32.DLL).
Win32-Registry

Registry (WINREG.H and ADVAPI32.DLL).
Win32-Rich-Edit

"Rich edit" controls (RICHEDIT.H and RICHED32.DLL).
Win32-DDE

Dynamic Data Exchange (DDE.H and DDEML.H).

Win32-Shell

API for querying and extending the Windows Shell. Corresponds to SHELLAPI.H and SHELL32.DLL.

Winsock2

Corresponds to WINSOCK2.H, QOS.H, and MSWSOCK.H. This library is not available in the Functional Developer Personal edition.


C FFI and Win 32 Reference - 31 MAR 2000

Next Previous Up Top Contents Index