diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/dmxedit/winstuff.cpp | |
| download | archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip | |
Diffstat (limited to 'utils/dmxedit/winstuff.cpp')
| -rw-r--r-- | utils/dmxedit/winstuff.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/utils/dmxedit/winstuff.cpp b/utils/dmxedit/winstuff.cpp new file mode 100644 index 0000000..4869c75 --- /dev/null +++ b/utils/dmxedit/winstuff.cpp @@ -0,0 +1,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 ); +}
\ No newline at end of file |