Commit e7dada5f authored by Robert Wilhelm's avatar Robert Wilhelm Committed by Alexandre Julliard

wshom: Use signed type for property ExitCode in IWshExec.

Automation interfaces should use signed types, because VBScript does not support unsigned types like VT_UI4. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53542Signed-off-by: 's avatarRobert Wilhelm <robert.wilhelm@gmx.net>
parent cfdbebd8
......@@ -277,7 +277,7 @@ static HRESULT WINAPI WshExec_get_ProcessID(IWshExec *iface, int *pid)
return S_OK;
}
static HRESULT WINAPI WshExec_get_ExitCode(IWshExec *iface, DWORD *code)
static HRESULT WINAPI WshExec_get_ExitCode(IWshExec *iface, int *code)
{
WshExecImpl *This = impl_from_IWshExec(iface);
......
......@@ -439,7 +439,7 @@ library IWshRuntimeLibrary
HRESULT ProcessID([out, retval] int *pid);
[id(0x0007), propget]
HRESULT ExitCode([out, retval] DWORD *code);
HRESULT ExitCode([out, retval] int *code);
[id(0x0008)]
HRESULT Terminate();
......
......@@ -439,7 +439,7 @@ library IWshRuntimeLibrary
HRESULT ProcessID([out, retval] int *pid);
[id(0x0007), propget]
HRESULT ExitCode([out, retval] DWORD *code);
HRESULT ExitCode([out, retval] int *code);
[id(0x0008)]
HRESULT Terminate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment