// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //
//
//  Project:   Talina Gaming System (TgS) (∂)
//  File:      TgS (W32) Common - SysInfo.h
//  Author:    Andrew Aye (EMail: mailto:andrew.aye@gmail.com, Web: http://www.andrewaye.com)
//  Version:   4.0
//
// ------------------------------------------------------------------------------------------------------------------------------ //
//
//  Copyright: © 2002-2010, Andrew Aye.  All Rights Reserved.
//
//  This software is free for non-commercial use. Redistribution and use in source and binary forms, with or without modification,
//  are permitted provided that the following conditions are met: 
//    Redistributions of source code must retain this copyright notice, this list of conditions and the following disclaimers. 
//    Redistributions in binary form must reproduce this copyright notice, this list of conditions and the following
//      disclaimers in the documentation and other materials provided with the distribution. 
//
//  Neither the names of the copyright owner nor the names of its contributors may be used to endorse or promote products derived
//  from this software without specific prior written permission. 
//
//  The intellectual property rights of the algorithms used reside with Andrew Aye.  You may not use this software, in whole or
//  in part, in support of any commercial product without the express written consent of the author.
//
//  There is no warranty or other guarantee of fitness of this software for any purpose. It is provided solely "as is".
//
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //
#if !defined(_TGS_W32_COMMON_SYSINFO_H_)
#define _TGS_W32_COMMON_SYSINFO_H_
#pragma once

// START TGS ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

TgRESULT                                    tgSI_Init_Module();
TgRESULT                                    tgSI_Boot_Module();
TgRESULT                                    tgSI_Stop_Module();
TgRESULT                                    tgSI_Free_Module();

TgBOOL                                      tgSI_SYSTEM_Has_Mouse();
TgBOOL                                      tgSI_SYSTEM_Clean_Boot();
TgFLOAT64                                   tgSI_SYSTEM_Seconds_Per_Cycle();
TgBOOL                                      tgSI_MATH_Has_MMX();
TgBOOL                                      tgSI_MATH_Has_XMM();
TgBOOL                                      tgSI_MATH_Has_XMM2();
TgBOOL                                      tgSI_MATH_Has_3DNow();
TgBOOL                                      tgSI_MATH_Has_RDTSC();
TgBOOL                                      tgSI_INPUT_Has_Mouse_Wheel();

TgUINT32                                    tgSI_SYSTEM_Page_Size();
TgUINT32                                    tgSI_SYSTEM_Allocation_Granularity();
TgUINT08                                    tgSI_SYSTEM_Number_Of_Processors();

CPC_TgCHAR                                  tgSI_Query_WorkPath();
CPC_TgCHAR                                  tgSI_Query_SysPath();
CPC_TgCHAR                                  tgSI_Query_WinPath();
CPC_TgCHAR                                  tgSI_Query_ExePath();

CPC_TgCHAR                                  tgSI_Query_Computer_Name();
CPC_TgCHAR                                  tgSI_Query_User_Name();

TgBOOL                                      tgSI_SYSTEM_Has_Network();

TgVOID                                      tgSI_Stats( P_STg2_Output );

#endif //  END  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////