Module: wine Branch: master Commit: 244b14ba36e4ff89338138b64fb4cd0b29c81454 URL: http://source.winehq.org/git/wine.git/?a=commit;h=244b14ba36e4ff89338138b64f...
Author: Rob Shearman robertshearman@gmail.com Date: Mon Sep 8 23:20:22 2008 +0100
include: Fix level of indirection of parameters in GetNotifyCmdLine function of IBackgroundCopyJob2 interface in bits1_5.idl.
The parameters should be double pointers to strings, not pointers to strings.
---
dlls/qmgr/job.c | 4 ++-- include/bits1_5.idl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/qmgr/job.c b/dlls/qmgr/job.c index 32dadd8..e344027 100644 --- a/dlls/qmgr/job.c +++ b/dlls/qmgr/job.c @@ -456,8 +456,8 @@ static HRESULT WINAPI BITS_IBackgroundCopyJob_SetNotifyCmdLine(
static HRESULT WINAPI BITS_IBackgroundCopyJob_GetNotifyCmdLine( IBackgroundCopyJob2 *iface, - LPWSTR prog, - LPWSTR params) + LPWSTR *prog, + LPWSTR *params) { FIXME("Not implemented\n"); return E_NOTIMPL; diff --git a/include/bits1_5.idl b/include/bits1_5.idl index 0bb27ca..274a7de 100644 --- a/include/bits1_5.idl +++ b/include/bits1_5.idl @@ -30,7 +30,7 @@ import "bits.idl"; interface IBackgroundCopyJob2 : IBackgroundCopyJob { HRESULT SetNotifyCmdLine([unique] LPCWSTR prog, [unique] LPCWSTR params); - HRESULT GetNotifyCmdLine([out] LPWSTR prog, [out] LPWSTR params); + HRESULT GetNotifyCmdLine([out] LPWSTR *prog, [out] LPWSTR *params);
typedef struct _BG_JOB_REPLY_PROGRESS {