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

wshom: Use signed type for property ProcessID 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 5c1b0e5d
......@@ -264,7 +264,7 @@ static HRESULT WINAPI WshExec_get_StdErr(IWshExec *iface, ITextStream **stream)
return S_OK;
}
static HRESULT WINAPI WshExec_get_ProcessID(IWshExec *iface, DWORD *pid)
static HRESULT WINAPI WshExec_get_ProcessID(IWshExec *iface, int *pid)
{
WshExecImpl *This = impl_from_IWshExec(iface);
......
......@@ -436,7 +436,7 @@ library IWshRuntimeLibrary
HRESULT StdErr([out, retval] ITextStream** stream);
[id(0x0006), propget]
HRESULT ProcessID([out, retval] DWORD *pid);
HRESULT ProcessID([out, retval] int *pid);
[id(0x0007), propget]
HRESULT ExitCode([out, retval] DWORD *code);
......
......@@ -436,7 +436,7 @@ library IWshRuntimeLibrary
HRESULT StdErr([out, retval] ITextStream** stream);
[id(0x0006), propget]
HRESULT ProcessID([out, retval] DWORD *pid);
HRESULT ProcessID([out, retval] int *pid);
[id(0x0007), propget]
HRESULT ExitCode([out, retval] DWORD *code);
......
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