From 2e54793dbe9ec64aaa1e06c7094657f3706254fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Tue, 9 Aug 2011 18:39:06 +0000 Subject: [PATCH] [SERVICES] - mark pointers argument of RQueryServiceConfigA/W as [unique], since they can be NULL. See http://msdn.microsoft.com/en-us/library/aa367153%28v=VS.85%29.aspx for details. svn path=/trunk/; revision=53153 --- reactos/include/reactos/idl/svcctl.idl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/include/reactos/idl/svcctl.idl b/reactos/include/reactos/idl/svcctl.idl index 2febd675415..3e64adab98e 100644 --- a/reactos/include/reactos/idl/svcctl.idl +++ b/reactos/include/reactos/idl/svcctl.idl @@ -435,10 +435,10 @@ interface svcctl /* Function 17 */ DWORD RQueryServiceConfigW( [in] SC_RPC_HANDLE hService, - [out, size_is(cbBufSize)] LPBYTE lpServiceConfig, + [out, size_is(cbBufSize), unique] LPBYTE lpServiceConfig, /* FIXME: should be [out] LPQUERY_SERVICE_CONFIGW lpServiceConfig, */ [in, range(0, 1024*8)] DWORD cbBufSize, - [out] LPBOUNDED_DWORD_8K pcbBytesNeeded); + [out, unique] LPBOUNDED_DWORD_8K pcbBytesNeeded); /* Function 18 */ DWORD RQueryServiceLockStatusW( @@ -547,10 +547,10 @@ interface svcctl /* Function 29 */ DWORD RQueryServiceConfigA( [in] SC_RPC_HANDLE hService, - [out, size_is(cbBufSize)] LPBYTE lpServiceConfig, + [out, size_is(cbBufSize), unique] LPBYTE lpServiceConfig, /* FIXME: should be [out] LPQUERY_SERVICE_CONFIGA lpServiceConfig, */ [in, range(0, 1024*8)] DWORD cbBufSize, - [out] LPBOUNDED_DWORD_8K pcbBytesNeeded); + [out, unique] LPBOUNDED_DWORD_8K pcbBytesNeeded); /* Function 30 */ DWORD RQueryServiceLockStatusA(