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

/*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
TEXTCONV.H
Abstract:
History:
--*/
#include <windows.h>
#include <stdio.h>
//#include <dbgalloc.h>
//#include <arena.h>
#include <var.h>
//#include <wbemutil.h>
#define TEMP_BUF 2096
#define LARGE_BUF 2096
LPWSTR CreateUnicode(LPSTR sz);
LPSTR TypeToString(int nType);
int StringToType(LPSTR pString);
CVar* StringToValue(LPSTR pString, int nValType);
LPSTR ValueToNewString(CVar *pValue, int nValType = 0);
void StripTrailingWs(LPSTR pVal);
void StripTrailingWs(LPWSTR pVal);
extern char *g_aValidPropTypes[];
extern const int g_nNumValidPropTypes;