[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
This commit is contained in:
Jérôme Gardou 2011-08-09 18:39:06 +00:00
parent 2f1b32269b
commit 2e54793dbe

View file

@ -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(