Counter Strike : Global Offensive Source Code
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.

35 lines
1.2 KiB

  1. //=============================================================================
  2. //
  3. // The copyright to the contents herein is the property of Valve, L.L.C.
  4. // The contents may be used and/or copied only with the written permission of
  5. // Valve, L.L.C., or in accordance with the terms and conditions stipulated in
  6. // the agreement/contract under which the contents have been supplied.
  7. //
  8. // $Header: $
  9. // $NoKeywords: $
  10. //
  11. // Some junk to isolate <windows.h> from polluting everything
  12. //
  13. //=============================================================================
  14. #ifdef WIN32
  15. #define WIN32_LEAN_AND_MEAN
  16. #include <windows.h>
  17. #endif // #ifdef WIN32
  18. //-----------------------------------------------------------------------------
  19. //
  20. //-----------------------------------------------------------------------------
  21. void MyGetUserName( char *pszBuf, unsigned long *pBufSiz )
  22. {
  23. GetUserName( pszBuf, pBufSiz );
  24. }
  25. //-----------------------------------------------------------------------------
  26. //
  27. //-----------------------------------------------------------------------------
  28. void MyGetComputerName( char *pszBuf, unsigned long *pBufSiz )
  29. {
  30. GetComputerName( pszBuf, pBufSiz );
  31. }