Leaked source code of windows server 2003
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
816 B

#ifndef _UTIL_H_8_25_2000
#define _UTIL_H_8_25_2000
#define INIT_SIZE 1024
//General Utility Functions
DWORD ResizeByTwo( LPTSTR *ppBuffer,
LONG *pSize );
BOOL StringCopy( LPWSTR *ppDest, LPWSTR pSrc);
LONG ReadFromIn(LPTSTR *ppBuffer);
//+----------------------------------------------------------------------------
// Function: ConvertStringToInterger
// Synopsis: Converts string to integer. Returns false if string is outside
// the range on an integer
// Arguments:pszInput: integer in string format
// :pIntOutput:takes converted integer
//// Returns:TRUE is successful.
//-----------------------------------------------------------------------------
BOOL ConvertStringToInterger(LPWSTR pszInput, int* pIntOutput);
#endif