Inheritance diagram for WizOpRegistryEntry:
Public Member Functions | |
BOOL | GetInternalName (StringBase *const pValue) |
Provides a string from this registry entry for the internal name. | |
BOOL | GetUserName (StringBase *const pValue) |
Provides a string from this registry entry for the user name. | |
BOOL | GetParamHint (StringBase *const pValue) |
Provides a string from this registry entry for the parameter hint. | |
Static Private Attributes | |
static const String_16 | s_UserNameKey = TEXT("UserName") |
static const String_16 | s_ParamHintKey = TEXT("ParamHint") |
Definition at line 150 of file tmpltarg.cpp.
|
Provides a string from this registry entry for the internal name.
Definition at line 204 of file tmpltarg.cpp. 00205 { 00206 BOOL Ok = TRUE; 00207 00208 VersionIndependentProgID VIPID(*this); 00209 String_128 WholeEntry; 00210 00211 Ok = VIPID.GetName(&WholeEntry); 00212 00213 if (Ok) 00214 { 00215 // The entry is of the form "ProgID.LongName". We want the LongName bit 00216 static const TCHAR ProgIDDelimiter = TEXT('.'); 00217 00218 INT32 StartDelimiterPosition = WholeEntry.FindNextChar(ProgIDDelimiter); 00219 00220 const UINT32 LengthToCopy = WholeEntry.Length() - StartDelimiterPosition - 1; 00221 00222 if (StartDelimiterPosition >= 0 && LengthToCopy > 0) 00223 { 00224 WholeEntry.Mid(pValue, StartDelimiterPosition + 1, LengthToCopy); 00225 } 00226 else 00227 { 00228 TRACE( _T("WizOpRegistryEntry::GetInternalName - no name\n")); 00229 Ok = FALSE; 00230 } 00231 } 00232 00233 return Ok; 00234 }
|
|
Provides a string from this registry entry for the parameter hint.
Definition at line 269 of file tmpltarg.cpp. 00270 { 00271 return GetValue(s_ParamHintKey, pValue); 00272 }
|
|
Provides a string from this registry entry for the user name.
Definition at line 250 of file tmpltarg.cpp. 00251 { 00252 return GetValue(s_UserNameKey, pValue); 00253 }
|
|
Definition at line 160 of file tmpltarg.cpp. |
|
Definition at line 159 of file tmpltarg.cpp. |