/******************************************************************************
- EnableTrace [ADVAPI32.@]
- */
+TRACEHANDLE WINAPI GetTraceLoggerHandle( PVOID lpBuffer ) +{
- FIXME("(%p) stub\n", lpBuffer);
- return ERROR_INVALID_PARAMETER;
+}
It returns trace handle, not an error code. Comment is wrong too.
Yeah, I forgot to edit the comments. If the function fails, it returns INVALID_HANDLE_VALUE. To get extended error information, call theGetLastError function. Please check the msdn link below http://msdn.microsoft.com/en-us/library/windows/desktop/aa363897(v=vs.85).as...
Thanks, Vijay
On Sun, Apr 13, 2014 at 1:57 PM, Nikolay Sivov bunglehead@gmail.com wrote:
/******************************************************************************
- EnableTrace [ADVAPI32.@]
- */
+TRACEHANDLE WINAPI GetTraceLoggerHandle( PVOID lpBuffer ) +{
- FIXME("(%p) stub\n", lpBuffer);
- return ERROR_INVALID_PARAMETER;
+}
It returns trace handle, not an error code. Comment is wrong too.