source-engine/materialsystem/shaderapidx9/winutils.h

22 lines
581 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= 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