PostQuitMessage( 0 );
break;
}
case WM_CHAR:
{
DestroyWindow( hWnd );
break;
}
default:
{
return DefWindowProc( hWnd, Msg, wParam, lParam );
}
}
return 0;
}
//
// ********************************************************************************
// *
// * TimerProc - Message handler for timer used to read the MSR
// *
// ********************************************************************************
//
void CALLBACK TimerProc( HWND hWnd, UINT Msg, UINT idTime, DWORD dwTime )
{
KillTimer ( hWnd, idTime );
switch( Msg )
{
*
*
*
5 - 25