mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:05:44 +00:00
[WMIC]
* 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:
parent
c2691edfa1
commit
e8ee07de91
3 changed files with 10 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
add_executable(wmic wmic.c wmic.rc)
|
add_executable(wmic main.c wmic.rc)
|
||||||
target_link_libraries(wmic wine)
|
target_link_libraries(wmic wine)
|
||||||
set_module_type(wmic win32cui UNICODE)
|
set_module_type(wmic win32cui UNICODE)
|
||||||
add_importlibs(wmic oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
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)
|
||||||
|
|
|
@ -19,19 +19,17 @@
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
|
|
||||||
#include <stdio.h>
|
//#include <stdio.h>
|
||||||
#include <windef.h>
|
//#include "windows.h"
|
||||||
#include <winbase.h>
|
//#include "ocidl.h"
|
||||||
#include <wincon.h>
|
|
||||||
#include <ocidl.h>
|
|
||||||
#include <initguid.h>
|
#include <initguid.h>
|
||||||
#include "objidl.h"
|
//#include "objidl.h"
|
||||||
#include "wbemcli.h"
|
#include <wbemcli.h>
|
||||||
|
#include "wmic.h"
|
||||||
|
|
||||||
#include <wine/debug.h>
|
#include <wine/debug.h>
|
||||||
#include <wine/unicode.h>
|
#include <wine/unicode.h>
|
||||||
|
|
||||||
#include "wmic.h"
|
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wmic);
|
WINE_DEFAULT_DEBUG_CHANNEL(wmic);
|
||||||
|
|
||||||
static const WCHAR biosW[] =
|
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)
|
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 ) );
|
output_string( fmtW, V_BSTR( &v ) );
|
||||||
VariantClear( &v );
|
VariantClear( &v );
|
||||||
}
|
}
|
|
@ -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/reg # Synced to Wine-1.1.40
|
||||||
reactos/base/applications/cmdutils/taskkill # Synced to Wine-1.5.25
|
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/cmdutils/xcopy # Synced to Wine-1.3.37
|
||||||
reactos/base/applications/games/winmine # Forked at Wine-1_3_5
|
reactos/base/applications/games/winmine # Forked at Wine-1_3_5
|
||||||
reactos/base/applications/extrac32 # Autosync
|
reactos/base/applications/extrac32 # Autosync
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue