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 @@ ...@@ -367,7 +367,7 @@
# @ stub NtSetBootEntryOrder # @ stub NtSetBootEntryOrder
# @ stub NtSetBootOptions # @ stub NtSetBootOptions
@ stdcall -syscall NtSetContextThread(long ptr) @ stdcall -syscall NtSetContextThread(long ptr)
# @ stub NtSetDebugFilterState @ stdcall -syscall NtSetDebugFilterState(long long long)
# @ stub NtSetDefaultHardErrorPort # @ stub NtSetDefaultHardErrorPort
@ stdcall -syscall NtSetDefaultLocale(long long) @ stdcall -syscall NtSetDefaultLocale(long long)
@ stdcall -syscall NtSetDefaultUILanguage(long) @ stdcall -syscall NtSetDefaultUILanguage(long)
...@@ -1389,7 +1389,7 @@ ...@@ -1389,7 +1389,7 @@
# @ stub ZwSetBootEntryOrder # @ stub ZwSetBootEntryOrder
# @ stub ZwSetBootOptions # @ stub ZwSetBootOptions
@ stdcall -private -syscall ZwSetContextThread(long ptr) NtSetContextThread @ stdcall -private -syscall ZwSetContextThread(long ptr) NtSetContextThread
# @ stub ZwSetDebugFilterState @ stdcall -private -syscall ZwSetDebugFilterState(long long long) NtSetDebugFilterState
# @ stub ZwSetDefaultHardErrorPort # @ stub ZwSetDefaultHardErrorPort
@ stdcall -private -syscall ZwSetDefaultLocale(long long) NtSetDefaultLocale @ stdcall -private -syscall ZwSetDefaultLocale(long long) NtSetDefaultLocale
@ stdcall -private -syscall ZwSetDefaultUILanguage(long) NtSetDefaultUILanguage @ stdcall -private -syscall ZwSetDefaultUILanguage(long) NtSetDefaultUILanguage
......
...@@ -343,3 +343,14 @@ NTSTATUS WINAPI NtTraceControl( ULONG code, void *inbuf, ULONG inbuf_len, ...@@ -343,3 +343,14 @@ NTSTATUS WINAPI NtTraceControl( ULONG code, void *inbuf, ULONG inbuf_len,
outbuf, outbuf_len, size ); outbuf, outbuf_len, size );
return STATUS_SUCCESS; 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[] = ...@@ -294,6 +294,7 @@ static void * const syscalls[] =
NtSaveKey, NtSaveKey,
NtSecureConnectPort, NtSecureConnectPort,
NtSetContextThread, NtSetContextThread,
NtSetDebugFilterState,
NtSetDefaultLocale, NtSetDefaultLocale,
NtSetDefaultUILanguage, NtSetDefaultUILanguage,
NtSetEaFile, NtSetEaFile,
......
...@@ -270,6 +270,19 @@ NTSTATUS WINAPI wow64_NtQueryInstallUILanguage( UINT *args ) ...@@ -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 * wow64_NtSetDefaultLocale
*/ */
NTSTATUS WINAPI wow64_NtSetDefaultLocale( UINT *args ) NTSTATUS WINAPI wow64_NtSetDefaultLocale( UINT *args )
......
...@@ -196,6 +196,7 @@ ...@@ -196,6 +196,7 @@
SYSCALL_ENTRY( NtSaveKey ) \ SYSCALL_ENTRY( NtSaveKey ) \
SYSCALL_ENTRY( NtSecureConnectPort ) \ SYSCALL_ENTRY( NtSecureConnectPort ) \
SYSCALL_ENTRY( NtSetContextThread ) \ SYSCALL_ENTRY( NtSetContextThread ) \
SYSCALL_ENTRY( NtSetDebugFilterState ) \
SYSCALL_ENTRY( NtSetDefaultLocale ) \ SYSCALL_ENTRY( NtSetDefaultLocale ) \
SYSCALL_ENTRY( NtSetDefaultUILanguage ) \ SYSCALL_ENTRY( NtSetDefaultUILanguage ) \
SYSCALL_ENTRY( NtSetEaFile ) \ SYSCALL_ENTRY( NtSetEaFile ) \
......
...@@ -4067,6 +4067,7 @@ NTSYSAPI NTSTATUS WINAPI NtResumeThread(HANDLE,PULONG); ...@@ -4067,6 +4067,7 @@ NTSYSAPI NTSTATUS WINAPI NtResumeThread(HANDLE,PULONG);
NTSYSAPI NTSTATUS WINAPI NtSaveKey(HANDLE,HANDLE); 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 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 NtSetContextThread(HANDLE,const CONTEXT*);
NTSYSAPI NTSTATUS WINAPI NtSetDebugFilterState(ULONG,ULONG,BOOLEAN);
NTSYSAPI NTSTATUS WINAPI NtSetDefaultHardErrorPort(HANDLE); NTSYSAPI NTSTATUS WINAPI NtSetDefaultHardErrorPort(HANDLE);
NTSYSAPI NTSTATUS WINAPI NtSetDefaultLocale(BOOLEAN,LCID); NTSYSAPI NTSTATUS WINAPI NtSetDefaultLocale(BOOLEAN,LCID);
NTSYSAPI NTSTATUS WINAPI NtSetDefaultUILanguage(LANGID); 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