mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 07:00:41 +00:00
ntdll: Add stub for NtSetDebugFilterState().
Eternal Return benefited from this function present as .spec file
stub which was removed by 52202224d9
.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6f1b78b537
commit
e36c6f04ce
|
@ -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,
|
||||
|
|
|
@ -269,6 +269,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
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue