Author: akhaldi
Date: Thu Oct 9 13:06:27 2014
New Revision: 64649
URL:
http://svn.reactos.org/svn/reactos?rev=64649&view=rev
Log:
[WMIC]
* Sync with Wine 1.7.27.
CORE-8540
Modified:
trunk/reactos/base/applications/cmdutils/wmic/lang/de-DE.rc
trunk/reactos/base/applications/cmdutils/wmic/lang/en-US.rc
trunk/reactos/base/applications/cmdutils/wmic/lang/ro-RO.rc
trunk/reactos/base/applications/cmdutils/wmic/lang/ru-RU.rc
trunk/reactos/base/applications/cmdutils/wmic/lang/sq-AL.rc
trunk/reactos/base/applications/cmdutils/wmic/main.c
Modified: trunk/reactos/base/applications/cmdutils/wmic/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/wmic/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/wmic/lang/de-DE.rc [iso-8859-1] Thu Oct 9
13:06:27 2014
@@ -1,8 +1,8 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE
-BEGIN
- STRING_CMDLINE_NOT_SUPPORTED "Fehler: Befehlszeile nicht unterstützt\n"
- STRING_ALIAS_NOT_FOUND "Fehler: Alias nicht gefunden\n"
- STRING_INVALID_QUERY "Fehler: Ungültige Abfrage\n"
-END
+{
+ STRING_CMDLINE_NOT_SUPPORTED, "Fehler: Befehlszeile nicht unterstützt\n"
+ STRING_ALIAS_NOT_FOUND, "Fehler: Alias nicht gefunden\n"
+ STRING_INVALID_QUERY, "Fehler: Ungültige Abfrage\n"
+}
Modified: trunk/reactos/base/applications/cmdutils/wmic/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/wmic/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/wmic/lang/en-US.rc [iso-8859-1] Thu Oct 9
13:06:27 2014
@@ -1,8 +1,8 @@
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
-BEGIN
- STRING_CMDLINE_NOT_SUPPORTED "Error: Command line not supported\n"
- STRING_ALIAS_NOT_FOUND "Error: Alias not found\n"
- STRING_INVALID_QUERY "Error: Invalid query\n"
-END
+{
+ STRING_CMDLINE_NOT_SUPPORTED, "Error: Command line not supported\n"
+ STRING_ALIAS_NOT_FOUND, "Error: Alias not found\n"
+ STRING_INVALID_QUERY, "Error: Invalid query\n"
+}
Modified: trunk/reactos/base/applications/cmdutils/wmic/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/wmic/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/wmic/lang/ro-RO.rc [iso-8859-1] Thu Oct 9
13:06:27 2014
@@ -3,8 +3,8 @@
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE
-BEGIN
- STRING_CMDLINE_NOT_SUPPORTED "Eroare: ComandÄ nerecunoscutÄ.\n"
- STRING_ALIAS_NOT_FOUND "Eroare: Nu se poate gÄsi alias.\n"
- STRING_INVALID_QUERY "Eroare: Cerere nevalidÄ.\n"
-END
+{
+ STRING_CMDLINE_NOT_SUPPORTED, "Eroare: ComandÄ nerecunoscutÄ.\n"
+ STRING_ALIAS_NOT_FOUND, "Eroare: Nu se poate gÄsi alias.\n"
+ STRING_INVALID_QUERY, "Eroare: Cerere nevalidÄ.\n"
+}
Modified: trunk/reactos/base/applications/cmdutils/wmic/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/wmic/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/wmic/lang/ru-RU.rc [iso-8859-1] Thu Oct 9
13:06:27 2014
@@ -1,8 +1,8 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE
-BEGIN
- STRING_CMDLINE_NOT_SUPPORTED "ÐÑибка: ÐºÐ¾Ð¼Ð¼Ð°Ð½Ð´Ð½Ð°Ñ ÑÑÑока
не поддеÑживаеÑÑÑ\n"
- STRING_ALIAS_NOT_FOUND "ÐÑибка: пÑевдоним не
найден\n"
- STRING_INVALID_QUERY "ÐÑибка: невÑнÑй запÑоÑ\n"
-END
+{
+ STRING_CMDLINE_NOT_SUPPORTED, "ÐÑибка: ÐºÐ¾Ð¼Ð¼Ð°Ð½Ð´Ð½Ð°Ñ ÑÑÑока
не поддеÑживаеÑÑÑ\n"
+ STRING_ALIAS_NOT_FOUND, "ÐÑибка: пÑевдоним не
найден\n"
+ STRING_INVALID_QUERY, "ÐÑибка: невÑнÑй запÑоÑ\n"
+}
Modified: trunk/reactos/base/applications/cmdutils/wmic/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/wmic/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/wmic/lang/sq-AL.rc [iso-8859-1] Thu Oct 9
13:06:27 2014
@@ -5,8 +5,8 @@
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
STRINGTABLE
-BEGIN
- STRING_CMDLINE_NOT_SUPPORTED "Gabim: Linja e komandave jo e mbështetur\n"
- STRING_ALIAS_NOT_FOUND "Gabim: Pseudonimi nuk u gjend\n"
- STRING_INVALID_QUERY "Gabim: Kërkim pa vlere\n"
-END
+{
+ STRING_CMDLINE_NOT_SUPPORTED, "Gabim: Linja e komandave jo e
mbështetur\n"
+ STRING_ALIAS_NOT_FOUND, "Gabim: Pseudonimi nuk u gjend\n"
+ STRING_INVALID_QUERY, "Gabim: Kërkim pa vlere\n"
+}
Modified: trunk/reactos/base/applications/cmdutils/wmic/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/wmic/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/wmic/main.c [iso-8859-1] Thu Oct 9 13:06:27
2014
@@ -229,6 +229,7 @@
}
if (IWbemClassObject_Get( obj, prop, 0, &v, NULL, NULL ) == WBEM_S_NO_ERROR)
{
+ VariantChangeType( &v, &v, 0, VT_BSTR );
output_string( fmtW, V_BSTR( &v ) );
VariantClear( &v );
}