Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
581 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
//
//
//==================================================================================================
#ifndef WINUTILS_H
#define WINUTILS_H
#include "togl/rendermechanism.h" // for win types
#if !defined(_WIN32)
void Sleep( unsigned int ms );
bool IsIconic( VD3DHWND hWnd );
BOOL ClientToScreen( VD3DHWND hWnd, LPPOINT pPoint );
void* GetCurrentThread();
void SetThreadAffinityMask( void *hThread, int nMask );
void GlobalMemoryStatus( MEMORYSTATUS *pOut );
#endif
#endif // WINUTILS_H