Team Fortress 2 Source Code as on 22/4/2020
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

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //
  4. //
  5. //==================================================================================================
  6. #ifndef WINUTILS_H
  7. #define WINUTILS_H
  8. #include "togl/rendermechanism.h" // for win types
  9. #if !defined(_WIN32)
  10. void Sleep( unsigned int ms );
  11. bool IsIconic( VD3DHWND hWnd );
  12. BOOL ClientToScreen( VD3DHWND hWnd, LPPOINT pPoint );
  13. void* GetCurrentThread();
  14. void SetThreadAffinityMask( void *hThread, int nMask );
  15. void GlobalMemoryStatus( MEMORYSTATUS *pOut );
  16. #endif
  17. #endif // WINUTILS_H