Author: jgardou
Date: Tue Aug 9 18:39:06 2011
New Revision: 53153
URL:
http://svn.reactos.org/svn/reactos?rev=53153&view=rev
Log:
[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.
Modified:
trunk/reactos/include/reactos/idl/svcctl.idl
Modified: trunk/reactos/include/reactos/idl/svcctl.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/idl/svcctl…
==============================================================================
--- trunk/reactos/include/reactos/idl/svcctl.idl [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/idl/svcctl.idl [iso-8859-1] Tue Aug 9 18:39:06 2011
@@ -435,10 +435,10 @@
/* 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 @@
/* 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(