advapi32: Add EventWriteString stub.

"Are You Ready for Valve Index?" needs this to work.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Richard Yao 2019-08-18 19:14:30 -04:00 committed by Alexandre Julliard
parent 591adce8c1
commit 8d55542473
5 changed files with 14 additions and 4 deletions

View File

@ -297,7 +297,7 @@
# @ stub EventWriteEndScenario
# @ stub EventWriteEx
# @ stub EventWriteStartScenario
# @ stub EventWriteString
@ stdcall EventWriteString(int64 long int64 ptr) ntdll.EtwEventWriteString
@ stdcall EventWriteTransfer(int64 ptr ptr ptr long ptr) ntdll.EtwEventWriteTransfer
@ stdcall FileEncryptionStatusA(str ptr)
@ stdcall FileEncryptionStatusW(wstr ptr)

View File

@ -44,7 +44,7 @@
@ stdcall EventRegister(ptr ptr ptr ptr) advapi32.EventRegister
@ stdcall EventUnregister(int64) advapi32.EventUnregister
@ stdcall EventWrite(int64 ptr long ptr) advapi32.EventWrite
@ stub EventWriteString
@ stdcall EventWriteString(int64 long int64 ptr) advapi32.EventWriteString
@ stdcall EventWriteTransfer(int64 ptr ptr ptr long ptr) advapi32.EventWriteTransfer
@ stdcall FindFirstFreeAce(ptr ptr) advapi32.FindFirstFreeAce
@ stdcall FreeSid(ptr) advapi32.FreeSid

View File

@ -6,5 +6,5 @@
@ stdcall EventUnregister(int64) advapi32.EventUnregister
@ stdcall EventWrite(int64 ptr long ptr) advapi32.EventWrite
@ stub EventWriteEx
@ stub EventWriteString
@ stdcall EventWriteString(int64 long int64 ptr) advapi32.EventWriteString
@ stdcall EventWriteTransfer(int64 ptr ptr ptr long ptr) advapi32.EventWriteTransfer

View File

@ -335,7 +335,7 @@
@ stdcall EventUnregister(int64) ntdll.EtwEventUnregister
@ stdcall EventWrite(int64 ptr long ptr) ntdll.EtwEventWrite
# @ stub EventWriteEx
# @ stub EventWriteString
@ stdcall EventWriteString(int64 long int64 ptr) ntdll.EtwEventWriteString
@ stdcall EventWriteTransfer(int64 ptr ptr ptr long ptr) ntdll.EtwEventWriteTransfer
@ stdcall ExitProcess(long) ntdll.RtlExitUserProcess
@ stdcall ExitThread(long) ntdll.RtlExitUserThread

View File

@ -426,6 +426,16 @@ ULONG WINAPI EtwEventSetInformation( REGHANDLE handle, EVENT_INFO_CLASS class, v
return ERROR_SUCCESS;
}
/******************************************************************************
* EtwEventWriteString (NTDLL.@)
*/
ULONG WINAPI EtwEventWriteString( REGHANDLE handle, UCHAR level, ULONGLONG keyword, PCWSTR string )
{
FIXME("%s, %u, %s, %s: stub\n", wine_dbgstr_longlong(handle), level,
wine_dbgstr_longlong(keyword), debugstr_w(string));
return ERROR_SUCCESS;
}
/******************************************************************************
* EtwEventWriteTransfer (NTDLL.@)
*/