//*************************************************************** // From the book "Win32 System Services: The Heart of Windows 98 // and Windows 2000" // by Marshall Brain // Published by Prentice Hall // // Copyright 1995, by Prentice Hall. // // This code uses the simple DLL to test it in load-time mode. //*************************************************************** // honker1.cpp #include #include #include #include "sndlt.h" VOID main(VOID) { DWORD iterations; CHAR iterStr[100]; cout << "Enter the number of beeps to produce: "; cin.getline(iterStr, 100); iterations=atoi(iterStr); // make the beeps MultiHonk(iterations); }