This code snippet demonstrates using API SystemParametersInfo to retrieve Windows message box information. It also demonstrates passing a byte structure to a an API. Thanks to Chris Dias [MSDN] for helping me debug this.
I needed to get the font name and size being used by Window 95/98/NT message boxes. The font and size are changed using the appearance tab of the windows properties dialog, for example:
The demo program allows you to change the message box font then display the selection in the following screen:

Click here to download the VB4 [3k] source code.
Updated 1999/07/11