* Properly import WMIC (correcting the previous import committed in r60748).
* The import of other WMI related modules is also already done, and will be committed eventually in the current ongoing sync.
CORE-7469

svn path=/trunk/; revision=60751
This commit is contained in:
Amine Khaldi 2013-10-26 09:48:25 +00:00
parent c2691edfa1
commit e8ee07de91
3 changed files with 10 additions and 13 deletions

View file

@ -1,6 +1,6 @@
add_executable(wmic wmic.c wmic.rc)
add_executable(wmic main.c wmic.rc)
target_link_libraries(wmic wine)
set_module_type(wmic win32cui UNICODE)
add_importlibs(wmic oleaut32 ole32 user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET wmic DESTINATION reactos/system32 FOR all)
add_cd_file(TARGET wmic DESTINATION reactos/system32/wbem FOR all)

View file

@ -19,19 +19,17 @@
#define COBJMACROS
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <wincon.h>
#include <ocidl.h>
//#include <stdio.h>
//#include "windows.h"
//#include "ocidl.h"
#include <initguid.h>
#include "objidl.h"
#include "wbemcli.h"
//#include "objidl.h"
#include <wbemcli.h>
#include "wmic.h"
#include <wine/debug.h>
#include <wine/unicode.h>
#include "wmic.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmic);
static const WCHAR biosW[] =
@ -231,7 +229,6 @@ static int query_prop( const WCHAR *alias, const WCHAR *propname )
}
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 );
}

View file

@ -227,7 +227,7 @@ ReactOS shares the following programs with Winehq.
reactos/base/applications/cmdutils/reg # Synced to Wine-1.1.40
reactos/base/applications/cmdutils/taskkill # Synced to Wine-1.5.25
reactos/base/applications/cmdutils/wmic # Synced to Wine-1.7.5
reactos/base/applications/cmdutils/wmic # Synced to Wine-1.7.1
reactos/base/applications/cmdutils/xcopy # Synced to Wine-1.3.37
reactos/base/applications/games/winmine # Forked at Wine-1_3_5
reactos/base/applications/extrac32 # Autosync