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=53542
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
This commit is contained in:
Robert Wilhelm 2022-08-14 11:18:04 +02:00 committed by Alexandre Julliard
parent 5c1b0e5df5
commit cfdbebd80c
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);