Commit dcef0bbf authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/service: Return (more) correct needed buffersize.

parent 169af787
...@@ -1815,7 +1815,7 @@ BOOL WINAPI QueryServiceConfigA( SC_HANDLE hService, LPQUERY_SERVICE_CONFIGA con ...@@ -1815,7 +1815,7 @@ BOOL WINAPI QueryServiceConfigA( SC_HANDLE hService, LPQUERY_SERVICE_CONFIGA con
MAP_STR( lpDisplayName ); MAP_STR( lpDisplayName );
#undef MAP_STR #undef MAP_STR
*needed = p - buffer; *needed = p - (LPSTR)config;
ret = TRUE; ret = TRUE;
done: done:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment