mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 08:50:27 +00:00
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:
parent
5c1b0e5df5
commit
cfdbebd80c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue