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.

34 lines
667 B

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. TEXTCONV.H
  5. Abstract:
  6. History:
  7. --*/
  8. #include <windows.h>
  9. #include <stdio.h>
  10. //#include <dbgalloc.h>
  11. //#include <arena.h>
  12. #include <var.h>
  13. //#include <wbemutil.h>
  14. #define TEMP_BUF 2096
  15. #define LARGE_BUF 2096
  16. LPWSTR CreateUnicode(LPSTR sz);
  17. LPSTR TypeToString(int nType);
  18. int StringToType(LPSTR pString);
  19. CVar* StringToValue(LPSTR pString, int nValType);
  20. LPSTR ValueToNewString(CVar *pValue, int nValType = 0);
  21. void StripTrailingWs(LPSTR pVal);
  22. void StripTrailingWs(LPWSTR pVal);
  23. extern char *g_aValidPropTypes[];
  24. extern const int g_nNumValidPropTypes;