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.
39 lines
1.2 KiB
39 lines
1.2 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Copyright (C) 1996-1997, Microsoft Corporation.
|
|
//
|
|
// File: varutil.hxx
|
|
//
|
|
// Contents: Utilities for variable replacement
|
|
//
|
|
// History: 96/Jan/3 DwightKr Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
enum EIsReplaceable {
|
|
eIsSimpleString = 0,
|
|
eIsSimpleReplacement,
|
|
eIsComplexReplacement,
|
|
};
|
|
|
|
EIsReplaceable IsAReplaceableParameter( WCHAR const * wcsString );
|
|
|
|
WCHAR * ReplaceParameters( WCHAR const * wcsVariableString,
|
|
CVariableSet & variableSet,
|
|
COutputFormat & outputFormat,
|
|
ULONG & cwcOut );
|
|
|
|
ULONG ReplaceNumericParameter( WCHAR const * wcsVariableString,
|
|
CVariableSet & variableSet,
|
|
COutputFormat & outputFormat,
|
|
ULONG defaultValue,
|
|
ULONG min,
|
|
ULONG max );
|
|
|
|
|
|
BOOL IsAValidCatalog( WCHAR const * wcsCatalog, ULONG cwc );
|
|
|
|
LONG IDQ_wtol( WCHAR const *pwcBuf );
|
|
|