#include <windows.h>
#include <string.h>
#include <stdio.h>

/*
	Function:		OkMsgBox()

	Parameters:		szCaption   -- menu title -- used for function location description
                  szFormat    -- printf format string

	Description:   Debugging window routine

	Returns: 	   nothing
*/

void
OkMsgBox(char *szCaption, char *szFormat, ...)
{
	char szBuffer[512];
	char *pArguments;

	pArguments = (char *) &szFormat + sizeof szFormat;
	vsprintf(szBuffer, szFormat, pArguments);
	MessageBox(NULL, szBuffer, szCaption, MB_OK);	
}

