Commit e36c6f04 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

ntdll: Add stub for NtSetDebugFilterState().

Eternal Return benefited from this function present as .spec file stub which was removed by 52202224. Signed-off-by: 's avatarPaul Gofman <pgofman@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 6f1b78b5
......@@ -367,7 +367,7 @@
# @ stub NtSetBootEntryOrder
# @ stub NtSetBootOptions
@ stdcall -syscall NtSetContextThread(long ptr)
# @ stub NtSetDebugFilterState
@ stdcall -syscall NtSetDebugFilterState(long long long)
# @ stub NtSetDefaultHardErrorPort
@ stdcall -syscall NtSetDefaultLocale(long long)
@ stdcall -syscall NtSetDefaultUILanguage(long)
......@@ -1389,7 +1389,7 @@
# @ stub ZwSetBootEntryOrder
# @ stub ZwSetBootOptions
@ stdcall -private -syscall ZwSetContextThread(long ptr) NtSetContextThread
# @ stub ZwSetDebugFilterState
@ stdcall -private -syscall ZwSetDebugFilterState(long long long) NtSetDebugFilterState
# @ stub ZwSetDefaultHardErrorPort
@ stdcall -private -syscall ZwSetDefaultLocale(long long) NtSetDefaultLocale
@ stdcall -private -syscall ZwSetDefaultUILanguage(long) NtSetDefaultUILanguage
......
......@@ -343,3 +343,14 @@ NTSTATUS WINAPI NtTraceControl( ULONG code, void *inbuf, ULONG inbuf_len,
outbuf, outbuf_len, size );
return STATUS_SUCCESS;
}
/***********************************************************************
* NtSetDebugFilterState (NTDLL.@)
*/
NTSTATUS WINAPI NtSetDebugFilterState( ULONG component_id, ULONG level, BOOLEAN state )
{
FIXME( "component_id %#x, level %u, state %#x stub.\n", component_id, level, state );
return STATUS_SUCCESS;
}
......@@ -294,6 +294,7 @@ static void * const syscalls[] =
NtSaveKey,
NtSecureConnectPort,
NtSetContextThread,
NtSetDebugFilterState,
NtSetDefaultLocale,
NtSetDefaultUILanguage,
NtSetEaFile,
......
......@@ -270,6 +270,19 @@ NTSTATUS WINAPI wow64_NtQueryInstallUILanguage( UINT *args )
/**********************************************************************
* wow64_NtSetDebugFilterState
*/
NTSTATUS WINAPI wow64_NtSetDebugFilterState( UINT *args )
{
ULONG component_id = get_ulong( &args );
ULONG level = get_ulong( &args );
BOOLEAN state = get_ulong( &args );
return NtSetDebugFilterState( component_id, level, state );
}
/**********************************************************************
* wow64_NtSetDefaultLocale
*/
NTSTATUS WINAPI wow64_NtSetDefaultLocale( UINT *args )
......
......@@ -196,6 +196,7 @@
SYSCALL_ENTRY( NtSaveKey ) \
SYSCALL_ENTRY( NtSecureConnectPort ) \
SYSCALL_ENTRY( NtSetContextThread ) \
SYSCALL_ENTRY( NtSetDebugFilterState ) \
SYSCALL_ENTRY( NtSetDefaultLocale ) \
SYSCALL_ENTRY( NtSetDefaultUILanguage ) \
SYSCALL_ENTRY( NtSetEaFile ) \
......
......@@ -4067,6 +4067,7 @@ NTSYSAPI NTSTATUS WINAPI NtResumeThread(HANDLE,PULONG);
NTSYSAPI NTSTATUS WINAPI NtSaveKey(HANDLE,HANDLE);
NTSYSAPI NTSTATUS WINAPI NtSecureConnectPort(PHANDLE,PUNICODE_STRING,PSECURITY_QUALITY_OF_SERVICE,PLPC_SECTION_WRITE,PSID,PLPC_SECTION_READ,PULONG,PVOID,PULONG);
NTSYSAPI NTSTATUS WINAPI NtSetContextThread(HANDLE,const CONTEXT*);
NTSYSAPI NTSTATUS WINAPI NtSetDebugFilterState(ULONG,ULONG,BOOLEAN);
NTSYSAPI NTSTATUS WINAPI NtSetDefaultHardErrorPort(HANDLE);
NTSYSAPI NTSTATUS WINAPI NtSetDefaultLocale(BOOLEAN,LCID);
NTSYSAPI NTSTATUS WINAPI NtSetDefaultUILanguage(LANGID);
......
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