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