/************************************************************************* *** WinBeep - Sample CEnvi for Windows program to demonstrate calling *** *** a dll function in a Windows library. In this case, *** *** will simply call the MessageBeep() function a few times *** *************************************************************************/ #define MESSAGE_BEEP_ORDINAL 104 for ( i = 0; i < 3; i++ ) DynamicLink("USER.EXE",MESSAGE_BEEP_ORDINAL,SWORD16,PASCAL,0);