In the platform interface layer, objects have been created for all C data types for Microsoft Windows. These data types include items such as DDEACK, DDEADVISE, DDEDATA, and HWND. These data objects are named by prefixing the data type name with OS, and applying bicapitalization rules. For example, HWND becomes OSHwnd. Additionally, each operating system C function has been converted to a corresponding Smalltalk method. To understand this conversion, consider the standard Windows function WinDdePostMsg:
• If there is no Smalltalk object that corresponds to the first parameter, then the receiver of the message is OSCall. Otherwise, the receiver is the first parameter of the function.
|