Source code of Windows XP (NT5)
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
686 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 ValueToString(CVar *pValue, int nValType = 0);
  21. LPSTR ValueToNewString(CVar *pValue, int nValType = 0);
  22. void StripTrailingWs(LPSTR pVal);
  23. void StripTrailingWs(LPWSTR pVal);
  24. extern char *g_aValidPropTypes[];
  25. extern const int g_nNumValidPropTypes;