mirror of https://github.com/tongzx/nt5src
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
35 lines
686 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 ValueToString(CVar *pValue, int nValType = 0);
|
|
LPSTR ValueToNewString(CVar *pValue, int nValType = 0);
|
|
void StripTrailingWs(LPSTR pVal);
|
|
void StripTrailingWs(LPWSTR pVal);
|
|
|
|
extern char *g_aValidPropTypes[];
|
|
extern const int g_nNumValidPropTypes;
|