NS_IMETHODIMP nsDOMCSSDeclaration::SetProperty(const nsAString& aPropertyName, const nsAString& aValue, const nsAString& aPriority) { // In the common (and fast) cases we can use the property id nsCSSProperty propID = nsCSSProps::LookupProperty(aPropertyName); if (propID == eCSSProperty_UNKNOWN) { return NS_OK; } if (aValue.IsEmpty()) { // If the new value of the property is an empty string we remove the // property. // XXX this ignores the priority string, should it? return RemoveProperty(propID); } if (aPriority.IsEmpty()) { return ParsePropertyValue(propID, aValue, PR_FALSE); } if (aPriority.EqualsLiteral("important")) { return ParsePropertyValue(propID, aValue, PR_TRUE); } // XXX silent failure? return NS_OK; }
NS_IMETHODIMP nsDOMCSSDeclaration::SetPropertyValue(const nsCSSProperty aPropID, const nsAString& aValue) { if (aValue.IsEmpty()) { // If the new value of the property is an empty string we remove the // property. return RemoveProperty(aPropID); } return ParsePropertyValue(aPropID, aValue, PR_FALSE); }
bool VPC_Config_Linker_TargetMachine( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; machineTypeOption option = machineNotSet; if ( !stricmp( buff, "Not Set" ) ) option = machineNotSet; else if ( !stricmp( buff, "MachineX86 (/MACHINE:X86)" ) ) option = machineX86; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_TargetMachine, put_TargetMachine, machineTypeOption, option ); }
bool VPC_Config_Linker_OptimizeForWindows98( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; optWin98Type option = optWin98Default; if ( !stricmp( buff, "Default" ) ) option = optWin98Default; else if ( !stricmp( buff, "No (/OPT:NOWIN98)" ) ) option = optWin98No; else if ( !stricmp( buff, "Yes (/OPT:WIN98)" ) ) option = optWin98Yes; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_OptimizeForWindows98, put_OptimizeForWindows98, optWin98Type, option ); }
bool VPC_Config_Linker_EnableCOMDATFolding( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; optFoldingType option = optFoldingDefault; if ( !stricmp( buff, "Default" ) ) option = optFoldingDefault; else if ( !stricmp( buff, "Do Not Remove Redundant COMDATs (/OPT:NOICF)" ) ) option = optNoFolding; else if ( !stricmp( buff, "Remove Redundant COMDATs (/OPT:ICF)" ) ) option = optFolding; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_EnableCOMDATFolding, put_EnableCOMDATFolding, optFoldingType, option ); }
bool VPC_Config_Linker_TerminalServer( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; termSvrAwarenessType option = termSvrAwareDefault; if ( !stricmp( buff, "Default" ) ) option = termSvrAwareDefault; else if ( !stricmp( buff, "Not Terminal Server Aware (/TSAWARE:NO)" ) ) option = termSvrAwareNo; else if ( !stricmp( buff, "Application is Terminal Server Aware (/TSAWARE)" ) ) option = termSvrAwareYes; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_TerminalServerAware, put_TerminalServerAware, termSvrAwarenessType, option ); }
bool VPC_Config_Linker_EnableLargeAddresses( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; addressAwarenessType option = addrAwareDefault; if ( !stricmp( buff, "Default" ) ) option = addrAwareDefault; else if ( !stricmp( buff, "Do Not Support Addresses Larger Than 2 Gigabytes (/LARGEADDRESSAWARE:NO)" ) ) option = addrAwareNoLarge; else if ( !stricmp( buff, "Support Addresses Larger Than 2 Gigabytes (/LARGEADDRESSAWARE)" ) ) option = addrAwareLarge; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_LargeAddressAware, put_LargeAddressAware, addressAwarenessType, option ); }
bool VPC_Config_Linker_SubSystem( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; subSystemOption option = subSystemNotSet; if ( !stricmp( buff, "Not Set" ) ) option = subSystemNotSet; else if ( !stricmp( buff, "Console (/SUBSYSTEM:CONSOLE)" ) ) option = subSystemConsole; else if ( !stricmp( buff, "Windows (/SUBSYSTEM:WINDOWS)" ) ) option = subSystemWindows; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_SubSystem, put_SubSystem, subSystemOption, option ); }
bool VPC_Config_Linker_DebuggableAssembly( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; linkAssemblyDebug option = linkAssemblyDebugDefault; if ( !stricmp( buff, "No Debuggable attribute emitted" ) ) option = linkAssemblyDebugDefault; else if ( !stricmp( buff, "Runtime tracking and disable optimizations (/ASSEMBLYDEBUG)" ) ) option = linkAssemblyDebugFull; else if ( !stricmp( buff, "No runtime tracking and enable optimizations (/ASSEMBLYDEBUG:DISABLE)" ) ) option = linkAssemblyDebugDisable; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_AssemblyDebug, put_AssemblyDebug, linkAssemblyDebug, option ); }
bool VPC_Config_Linker_ShowProgress( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; linkProgressOption option = linkProgressNotSet; if ( !stricmp( buff, "Not Set" ) ) option = linkProgressNotSet; else if ( !stricmp( buff, "Display All Progress Messages (/VERBOSE)" ) ) option = linkProgressAll; else if ( !stricmp( buff, "Displays Some Progress Messages (/VERBOSE:LIB)" ) ) option = linkProgressLibs; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_ShowProgress, put_ShowProgress, linkProgressOption, option ); }
bool VPC_Config_Linker_EnableIncrementalLinking( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; linkIncrementalType option = linkIncrementalDefault; if ( !stricmp( buff, "Default" ) ) option = linkIncrementalDefault; else if ( !stricmp( buff, "No (/INCREMENTAL:NO)" ) ) option = linkIncrementalNo; else if ( !stricmp( buff, "Yes (/INCREMENTAL)" ) ) option = linkIncrementalYes; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_LinkIncremental, put_LinkIncremental, linkIncrementalType, option ); }
bool VPC_Config_Linker_References( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; optRefType option = optReferencesDefault; if ( !stricmp( buff, "Default" ) ) option = optReferencesDefault; else if ( !stricmp( buff, "Keep Unreferenced Data (/OPT:NOREF)" ) ) option = optNoReferences; else if ( !stricmp( buff, "Eliminate Unreferenced Data (/OPT:REF)" ) ) option = optReferences; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_OptimizeReferences, put_OptimizeReferences, optRefType, option ); }
bool VPC_Config_Linker_ErrorReporting( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; linkerErrorReportingType option = linkerErrorReportingDefault; if ( !stricmp( buff, "Default" ) ) option = linkerErrorReportingDefault; else if ( !stricmp( buff, "Prompt Immediately (/ERRORREPORT:PROMPT)" ) ) option = linkerErrorReportingPrompt; else if ( !stricmp( buff, "Queue For Next Login (/ERRORREPORT:QUEUE)" ) ) option = linkerErrorReportingQueue; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_ErrorReporting, put_ErrorReporting, linkerErrorReportingType, option ); }
bool VPC_Config_Linker_CLRThreadAttribute( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; eCLRThreadAttribute option = CLRThreadAttributeNone; if ( !stricmp( buff, "No threading attribute set" ) ) option = CLRThreadAttributeNone; else if ( !stricmp( buff, "MTA threading attribute (/CLRTHREADATTRIBUTE:MTA)" ) ) option = CLRThreadAttributeMTA; else if ( !stricmp( buff, "STA threading attribute (/CLRTHREADATTRIBUTE:STA)" ) ) option = CLRThreadAttributeSTA; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_CLRThreadAttribute, put_CLRThreadAttribute, eCLRThreadAttribute, option ); }
bool VPC_Config_Linker_FixedBaseAddress( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; linkFixedBaseAddress option = linkFixedBaseAddressDefault; if ( !stricmp( buff, "Default" ) ) option = linkFixedBaseAddressDefault; else if ( !stricmp( buff, "Generate a relocation section (/FIXED:NO)" ) ) option = linkFixedBaseAddressNo; else if ( !stricmp( buff, "Image must be loaded at a fixed address (/FIXED)" ) ) option = linkFixedBaseAddressYes; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_FixedBaseAddress, put_FixedBaseAddress, linkFixedBaseAddress, option ); }
bool VPC_Config_Linker_CLRImageType( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; eCLRImageType option = CLRImageTypeDefault; if ( !stricmp( buff, "Default image type" ) ) option = CLRImageTypeDefault; else if ( !stricmp( buff, "Force IJW image (/CLRIMAGETYPE:IJW)" ) ) option = CLRImageTypeIJW; else if ( !stricmp( buff, "Force pure IL image (/CLRIMAGETYPE:PURE)" ) ) option = CLRImageTypePure; else if ( !stricmp( buff, "Force safe IL image (/CLRIMAGETYPE:SAFE)" ) ) option = CLRImageTypeSafe; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_CLRImageType, put_CLRImageType, eCLRImageType, option ); }
bool VPC_Config_Linker_Driver( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; driverOption option = driverDefault; if ( !stricmp( buff, "Not Set" ) ) option = driverDefault; else if ( !stricmp( buff, "Driver (/DRIVER)" ) ) option = driver; else if ( !stricmp( buff, "Up Only (/DRIVER:UPONLY)" ) ) option = driverUpOnly; else if ( !stricmp( buff, "WDM (/DRIVER:WDM)" ) ) option = driverWDM; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_driver, put_driver, driverOption, option ); }
bool VPC_Config_Linker_LinkTimeCodeGeneration( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; LinkTimeCodeGenerationOption option = LinkTimeCodeGenerationOptionDefault; if ( !stricmp( buff, "Default" ) ) option = LinkTimeCodeGenerationOptionDefault; else if ( !stricmp( buff, "Use Link Time Code Generation (/ltcg)" ) ) option = LinkTimeCodeGenerationOptionUse; else if ( !stricmp( buff, "Profile Guided Optimization - Instrument (/ltcg:pginstrument)" ) ) option = LinkTimeCodeGenerationOptionInstrument; else if ( !stricmp( buff, "Profile Guided Optimization - Optimize (/ltcg:pgoptimize)" ) ) option = LinkTimeCodeGenerationOptionOptimize; else if ( !stricmp( buff, "Profile Guided Optimization - Update (/ltcg:pgupdate)" ) ) option = LinkTimeCodeGenerationOptionUpdate; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spLinker, get_LinkTimeCodeGeneration, put_LinkTimeCodeGeneration, LinkTimeCodeGenerationOption, option ); }
bool VPC_Config_Resources_Culture( const char *pPropertyName ) { char buff[MAX_SYSTOKENCHARS]; if ( !ParsePropertyValue( &g_pScriptData, g_pScriptLine, NULL, buff, sizeof( buff ) ) ) return true; enumResourceLangID option = rcUseDefault; if ( !stricmp( buff, "Default" ) ) option = rcUseDefault; else if ( !stricmp( buff, "Afrikaans (0x436)" ) ) option = rcAfrikaans; else if ( !stricmp( buff, "Albanian (0x41c)" ) ) option = rcAlbanian; else if ( !stricmp( buff, "Arabic (Saudi Arabia) (0x401)" ) ) option = rcArabicSaudi; else if ( !stricmp( buff, "Arabic (Iraq) (0x801)" ) ) option = rcArabicIraq; else if ( !stricmp( buff, "Arabic (Egypt) (0xc01)" ) ) option = rcArabicEgypt; else if ( !stricmp( buff, "Arabic (Libya) (0x1001)" ) ) option = rcArabicLibya; else if ( !stricmp( buff, "Arabic (Algeria) (0x1401)" ) ) option = rcArabicAlgeria; else if ( !stricmp( buff, "Arabic (Morocco) (0x1801)" ) ) option = rcArabicMorocco; else if ( !stricmp( buff, "Arabic (Tunisia) (0x1c01)" ) ) option = rcArabicTunisia; else if ( !stricmp( buff, "Arabic (Oman) (0x2001)" ) ) option = rcArabicOman; else if ( !stricmp( buff, "Arabic (Yemen) (0x2401)" ) ) option = rcArabicYemen; else if ( !stricmp( buff, "Arabic (Syria) (0x2801)" ) ) option = rcArabicSyria; else if ( !stricmp( buff, "Arabic (Jordan) (0x2c01)" ) ) option = rcArabicJordan; else if ( !stricmp( buff, "Arabic (Lebanon) (0x3001)" ) ) option = rcArabicLebanon; else if ( !stricmp( buff, "Arabic (Kuwait) (0x3401)" ) ) option = rcArabicKuwait; else if ( !stricmp( buff, "Arabic (U.A.E.) (0x3801)" ) ) option = rcArabicUnitedArabEmirates; else if ( !stricmp( buff, "Arabic (Bahrain) (0x3c01)" ) ) option = rcArabicBahrain; else if ( !stricmp( buff, "Arabic (Qatar) (0x4001)" ) ) option = rcArabicQatar; else if ( !stricmp( buff, "Basque (0x42d)" ) ) option = rcBasque; else if ( !stricmp( buff, "Bulgarian (0x402)" ) ) option = rcBulgarian; else if ( !stricmp( buff, "Belarusian (0x423)" ) ) option = rcByelorussian; else if ( !stricmp( buff, "Catalan (0x403)" ) ) option = rcCatalan; else if ( !stricmp( buff, "Chinese (Taiwan) (0x404)" ) ) option = rcChineseTaiwan; else if ( !stricmp( buff, "Chinese (PRC) (0x804)" ) ) option = rcChinesePRC; else if ( !stricmp( buff, "Chinese (Hong Kong S.A.R.) (0xc04)" ) ) option = rcChineseHongKong; else if ( !stricmp( buff, "Chinese (Singapore) (0x1004)" ) ) option = rcChineseSingapore; else if ( !stricmp( buff, "Croatian (0x41a)" ) ) option = rcCroatian; else if ( !stricmp( buff, "Czech (0x405)" ) ) option = rcCzech; else if ( !stricmp( buff, "Danish (0x406)" ) ) option = rcDanish; else if ( !stricmp( buff, "Dutch (Netherlands) (0x413)" ) ) option = rcDutchStandard; else if ( !stricmp( buff, "Dutch (Belgium) (0x813)" ) ) option = rcDutchBelgium; else if ( !stricmp( buff, "English (United States) (0x409)" ) ) option = rcEnglishUS; else if ( !stricmp( buff, "English (United Kingdom) (0x809)" ) ) option = rcEnglishBritain; else if ( !stricmp( buff, "English (Australia) (0xc09)" ) ) option = rcEnglishAustralia; else if ( !stricmp( buff, "English (Canada) (0x1009)" ) ) option = rcEnglishCanada; else if ( !stricmp( buff, "English (New Zealand) (0x1409)" ) ) option = rcEnglishNewZealand; else if ( !stricmp( buff, "English (Ireland) (0x1809)" ) ) option = rcEnglishIreland; else if ( !stricmp( buff, "English (South Africa) (0x1c09)" ) ) option = rcEnglishSouthAfrica; else if ( !stricmp( buff, "English (Jamaica) (0x2009)" ) ) option = rcEnglishJamaica; else if ( !stricmp( buff, "English (Caribbean) (0x2409)" ) ) option = rcEnglishCarribean; else if ( !stricmp( buff, "Estonian (0x425)" ) ) option = rcEstonian; else if ( !stricmp( buff, "Farsi (0x429)" ) ) option = rcFarsi; else if ( !stricmp( buff, "Finnish (0x40b)" ) ) option = rcFinnish; else if ( !stricmp( buff, "French (France) (0x40c)" ) ) option = rcFrenchStandard; else if ( !stricmp( buff, "French (Belgium) (0x80c)" ) ) option = rcFrenchBelgium; else if ( !stricmp( buff, "French (Canada) (0xc0c)" ) ) option = rcFrenchCanada; else if ( !stricmp( buff, "French (Switzerland) (0x100c)" ) ) option = rcFrenchSwitzerland; else if ( !stricmp( buff, "French (Luxembourg) (0x140c)" ) ) option = rcFrenchLuxembourg; else if ( !stricmp( buff, "German (Germany) (0x407)" ) ) option = rcGermanStandard; else if ( !stricmp( buff, "German (Switzerland) (0x807)" ) ) option = rcGermanSwitzerland; else if ( !stricmp( buff, "German (Austria) (0xc07)" ) ) option = rcGermanAustria; else if ( !stricmp( buff, "German (Luxembourg) (0x1007)" ) ) option = rcGermanLuxembourg; else if ( !stricmp( buff, "German (Liechtenstein) (0x1407)" ) ) option = rcGermanLichtenstein; else if ( !stricmp( buff, "Greek (0x408)" ) ) option = rcGreek; else if ( !stricmp( buff, "Hebrew (0x40d)" ) ) option = rcHebrew; else if ( !stricmp( buff, "Hungarian (0x40e)" ) ) option = rcHungarian; else if ( !stricmp( buff, "Icelandic (0x40f)" ) ) option = rcIcelandic; else if ( !stricmp( buff, "Indonesian (0x421)" ) ) option = rcIndonesian; else if ( !stricmp( buff, "Italian (Italy) (0x410)" ) ) option = rcItalianStandard; else if ( !stricmp( buff, "Italian (Switzerland) (0x810)" ) ) option = rcItalianSwitzerland; else if ( !stricmp( buff, "Japanese (0x411)" ) ) option = rcJapanese; else if ( !stricmp( buff, "Korean (0x412)" ) ) option = rcKorean; else if ( !stricmp( buff, "0x812" ) ) option = rcKoreanJohab; else if ( !stricmp( buff, "Latvian (0x426)" ) ) option = rcLatvian; else if ( !stricmp( buff, "Lithuanian (0x427)" ) ) option = rcLithuanian; else if ( !stricmp( buff, "Norwegian (Bokmal) (0x414)" ) ) option = rcNorwegianBokmal; else if ( !stricmp( buff, "Norwegian (Nynorsk) (0x814)" ) ) option = rcNorwegianNynorsk; else if ( !stricmp( buff, "Polish (0x415)" ) ) option = rcPolish; else if ( !stricmp( buff, "Portuguese (Brazil) (0x416)" ) ) option = rcPortugueseBrazilian; else if ( !stricmp( buff, "Portuguese (Portugal) (0x816)" ) ) option = rcPortugueseStandard; else if ( !stricmp( buff, "Romanian (0x418)" ) ) option = rcRomanian; else if ( !stricmp( buff, "Russian (0x419)" ) ) option = rcRussian; else if ( !stricmp( buff, "Slovak (0x41b)" ) ) option = rcSlovak; else if ( !stricmp( buff, "Spanish (Traditional Sort) (0x40a)" ) ) option = rcSpanishTraditional; else if ( !stricmp( buff, "Spanish (Mexico) (0x80a)" ) ) option = rcSpanishMexico; else if ( !stricmp( buff, "Spanish (International Sort) (0xc0a)" ) ) option = rcSpanishModern; else if ( !stricmp( buff, "Spanish (Guatemala) (0x100a)" ) ) option = rcSpanishGuatemala; else if ( !stricmp( buff, "Spanish (Costa Rica) (0x140a)" ) ) option = rcSpanishCostaRica; else if ( !stricmp( buff, "Spanish (Panama) (0x180a)" ) ) option = rcSpanishPanama; else if ( !stricmp( buff, "Spanish (Dominican Republic) (0x1c0a)" ) ) option = rcSpanishDominicanRepublic; else if ( !stricmp( buff, "Spanish (Venezuela) (0x200a)" ) ) option = rcSpanishVenezuela; else if ( !stricmp( buff, "Spanish (Colombia) (0x240a)" ) ) option = rcSpanishColombia; else if ( !stricmp( buff, "Spanish (Peru) (0x280a)" ) ) option = rcSpanishPeru; else if ( !stricmp( buff, "Spanish (Argentina) (0x2c0a)" ) ) option = rcSpanishArgentina; else if ( !stricmp( buff, "Spanish (Ecuador) (0x300a)" ) ) option = rcSpanishEcuador; else if ( !stricmp( buff, "Spanish (Chile) (0x340a)" ) ) option = rcSpanishChile; else if ( !stricmp( buff, "Spanish (Uruguay) (0x380a)" ) ) option = rcSpanishUruguay; else if ( !stricmp( buff, "Spanish (Paraguay) (0x3c0a)" ) ) option = rcSpanishParaguay; else if ( !stricmp( buff, "Spanish (Bolivia) (0x400a)" ) ) option = rcSpanishBolivia; else if ( !stricmp( buff, "Swedish (0x41d)" ) ) option = rcSwedish; else if ( !stricmp( buff, "Thai (0x41e)" ) ) option = rcThai; else if ( !stricmp( buff, "Turkish (0x41f)" ) ) option = rcTurkish; else if ( !stricmp( buff, "Ukrainian (0x422)" ) ) option = rcUkrainian; else if ( !stricmp( buff, "Serbian (Latin) (0x81a)" ) ) option = rcSerbian; else if ( !stricmp( buff, "Urdu (0x420)" ) ) option = rcUrdu; else VPC_SyntaxError(); SET_LIST_PROPERTY( pPropertyName, g_spResources, get_Culture, put_Culture, enumResourceLangID, option ); }