"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/ntdll/nt.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

nt.c  (wine-5.12.tar.xz):nt.c  (wine-5.13.tar.xz)
skipping to change at line 829 skipping to change at line 829
PLPC_MESSAGE Message) PLPC_MESSAGE Message)
{ {
FIXME("(%p,%p,%p,%p),stub!\n",PortHandle,PortIdentifier,ReplyMessage,Message); FIXME("(%p,%p,%p,%p),stub!\n",PortHandle,PortIdentifier,ReplyMessage,Message);
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
/* /*
* Misc * Misc
*/ */
/******************************************************************************
* NtSetIntervalProfile [NTDLL.@]
* ZwSetIntervalProfile [NTDLL.@]
*/
NTSTATUS WINAPI NtSetIntervalProfile(
ULONG Interval,
KPROFILE_SOURCE Source)
{
FIXME("%u,%d\n", Interval, Source);
return STATUS_SUCCESS;
}
/*********************************************************************** /***********************************************************************
* RtlIsProcessorFeaturePresent [NTDLL.@] * RtlIsProcessorFeaturePresent [NTDLL.@]
*/ */
BOOLEAN WINAPI RtlIsProcessorFeaturePresent( UINT feature ) BOOLEAN WINAPI RtlIsProcessorFeaturePresent( UINT feature )
{ {
return feature < PROCESSOR_FEATURE_MAX && user_shared_data->ProcessorFeature s[feature]; return feature < PROCESSOR_FEATURE_MAX && user_shared_data->ProcessorFeature s[feature];
} }
/****************************************************************************** /******************************************************************************
* NtQuerySystemInformation [NTDLL.@]
* ZwQuerySystemInformation [NTDLL.@]
*/
NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
void *info, ULONG size, ULONG *ret_siz
e )
{
return unix_funcs->NtQuerySystemInformation( class, info, size, ret_size );
}
/******************************************************************************
* RtlGetNativeSystemInformation [NTDLL.@] * RtlGetNativeSystemInformation [NTDLL.@]
*/ */
NTSTATUS WINAPI /* DECLSPEC_HOTPATCH */ RtlGetNativeSystemInformation( NTSTATUS WINAPI /* DECLSPEC_HOTPATCH */ RtlGetNativeSystemInformation(
IN SYSTEM_INFORMATION_CLASS SystemInformationClass, IN SYSTEM_INFORMATION_CLASS SystemInformationClass,
OUT PVOID SystemInformation, OUT PVOID SystemInformation,
IN ULONG Length, IN ULONG Length,
OUT PULONG ResultLength) OUT PULONG ResultLength)
{ {
FIXME( "semi-stub, SystemInformationClass %#x, SystemInformation %p, Length %#x, ResultLength %p.\n", FIXME( "semi-stub, SystemInformationClass %#x, SystemInformation %p, Length %#x, ResultLength %p.\n",
SystemInformationClass, SystemInformation, Length, ResultLength ); SystemInformationClass, SystemInformation, Length, ResultLength );
/* RtlGetNativeSystemInformation function is the same as NtQuerySystemInform ation on some Win7 /* RtlGetNativeSystemInformation function is the same as NtQuerySystemInform ation on some Win7
* versions but there are differences for earlier and newer versions, at lea st: * versions but there are differences for earlier and newer versions, at lea st:
* - HighestUserAddress field for SystemBasicInformation; * - HighestUserAddress field for SystemBasicInformation;
* - Some information classes are not supported by RtlGetNativeSystemInf ormation. */ * - Some information classes are not supported by RtlGetNativeSystemInf ormation. */
return NtQuerySystemInformation( SystemInformationClass, SystemInformation, Length, ResultLength ); return NtQuerySystemInformation( SystemInformationClass, SystemInformation, Length, ResultLength );
} }
/****************************************************************************** /******************************************************************************
* NtQuerySystemInformationEx [NTDLL.@]
* ZwQuerySystemInformationEx [NTDLL.@]
*/
NTSTATUS WINAPI NtQuerySystemInformationEx( SYSTEM_INFORMATION_CLASS class,
void *query, ULONG query_len,
void *info, ULONG size, ULONG *ret_s
ize )
{
return unix_funcs->NtQuerySystemInformationEx( class, query, query_len, info
, size, ret_size );
}
/******************************************************************************
* NtSetSystemInformation [NTDLL.@]
* ZwSetSystemInformation [NTDLL.@]
*/
NTSTATUS WINAPI NtSetSystemInformation(SYSTEM_INFORMATION_CLASS SystemInformatio
nClass, PVOID SystemInformation, ULONG Length)
{
FIXME("(0x%08x,%p,0x%08x) stub\n",SystemInformationClass,SystemInformation,L
ength);
return STATUS_SUCCESS;
}
/******************************************************************************
* NtCreatePagingFile [NTDLL.@] * NtCreatePagingFile [NTDLL.@]
* ZwCreatePagingFile [NTDLL.@] * ZwCreatePagingFile [NTDLL.@]
*/ */
NTSTATUS WINAPI NtCreatePagingFile( NTSTATUS WINAPI NtCreatePagingFile(
PUNICODE_STRING PageFileName, PUNICODE_STRING PageFileName,
PLARGE_INTEGER MinimumSize, PLARGE_INTEGER MinimumSize,
PLARGE_INTEGER MaximumSize, PLARGE_INTEGER MaximumSize,
PLARGE_INTEGER ActualSize) PLARGE_INTEGER ActualSize)
{ {
FIXME("(%p %p %p %p) stub\n", PageFileName, MinimumSize, MaximumSize, Actual Size); FIXME("(%p %p %p %p) stub\n", PageFileName, MinimumSize, MaximumSize, Actual Size);
skipping to change at line 932 skipping to change at line 889
if (!(ret = RtlUnicodeStringToAnsiString( &stringA, string, TRUE ))) if (!(ret = RtlUnicodeStringToAnsiString( &stringA, string, TRUE )))
{ {
MESSAGE( "%.*s", stringA.Length, stringA.Buffer ); MESSAGE( "%.*s", stringA.Length, stringA.Buffer );
RtlFreeAnsiString( &stringA ); RtlFreeAnsiString( &stringA );
} }
return ret; return ret;
} }
/****************************************************************************** /******************************************************************************
* NtInitiatePowerAction [NTDLL.@]
*
*/
NTSTATUS WINAPI NtInitiatePowerAction(
IN POWER_ACTION SystemAction,
IN SYSTEM_POWER_STATE MinSystemState,
IN ULONG Flags,
IN BOOLEAN Asynchronous)
{
FIXME("(%d,%d,0x%08x,%d),stub\n",
SystemAction,MinSystemState,Flags,Asynchronous);
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* NtSetThreadExecutionState [NTDLL.@]
*
*/
NTSTATUS WINAPI NtSetThreadExecutionState( EXECUTION_STATE new_state, EXECUTION_
STATE *old_state )
{
static EXECUTION_STATE current =
ES_SYSTEM_REQUIRED | ES_DISPLAY_REQUIRED | ES_USER_PRESENT;
*old_state = current;
WARN( "(0x%x, %p): stub, harmless.\n", new_state, old_state );
if (!(current & ES_CONTINUOUS) || (new_state & ES_CONTINUOUS))
current = new_state;
return STATUS_SUCCESS;
}
/******************************************************************************
* NtCreatePowerRequest [NTDLL.@]
*
*/
NTSTATUS WINAPI NtCreatePowerRequest( HANDLE *handle, COUNTED_REASON_CONTEXT *co
ntext )
{
FIXME( "(%p, %p): stub\n", handle, context );
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* NtSetPowerRequest [NTDLL.@]
*
*/
NTSTATUS WINAPI NtSetPowerRequest( HANDLE handle, POWER_REQUEST_TYPE type )
{
FIXME( "(%p, %u): stub\n", handle, type );
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* NtClearPowerRequest [NTDLL.@]
*
*/
NTSTATUS WINAPI NtClearPowerRequest( HANDLE handle, POWER_REQUEST_TYPE type )
{
FIXME( "(%p, %u): stub\n", handle, type );
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* NtPowerInformation [NTDLL.@]
*
*/
NTSTATUS WINAPI NtPowerInformation( POWER_INFORMATION_LEVEL level, void *input,
ULONG in_size,
void *output, ULONG out_size )
{
return unix_funcs->NtPowerInformation( level, input, in_size, output, out_si
ze );
}
/******************************************************************************
* NtShutdownSystem [NTDLL.@]
*
*/
NTSTATUS WINAPI NtShutdownSystem(SHUTDOWN_ACTION Action)
{
FIXME("%d\n",Action);
return STATUS_SUCCESS;
}
/******************************************************************************
* NtAllocateLocallyUniqueId (NTDLL.@) * NtAllocateLocallyUniqueId (NTDLL.@)
*/ */
NTSTATUS WINAPI NtAllocateLocallyUniqueId(PLUID Luid) NTSTATUS WINAPI NtAllocateLocallyUniqueId(PLUID Luid)
{ {
NTSTATUS status; NTSTATUS status;
TRACE("%p\n", Luid); TRACE("%p\n", Luid);
if (!Luid) if (!Luid)
return STATUS_ACCESS_VIOLATION; return STATUS_ACCESS_VIOLATION;
skipping to change at line 1088 skipping to change at line 960
PUNICODE_STRING ObjectName, PSECURITY _DESCRIPTOR SecurityDescriptor, PUNICODE_STRING ObjectName, PSECURITY _DESCRIPTOR SecurityDescriptor,
ACCESS_MASK DesiredAccess, PGENERIC_M APPING GenericMapping, BOOLEAN ObjectCreation, ACCESS_MASK DesiredAccess, PGENERIC_M APPING GenericMapping, BOOLEAN ObjectCreation,
PACCESS_MASK GrantedAccess, PBOOLEAN AccessStatus, PBOOLEAN GenerateOnClose) PACCESS_MASK GrantedAccess, PBOOLEAN AccessStatus, PBOOLEAN GenerateOnClose)
{ {
FIXME("(%s, %p, %s, %p, 0x%08x, %p, %d, %p, %p, %p), stub\n", debugstr_us(Su bsystemName), HandleId, FIXME("(%s, %p, %s, %p, 0x%08x, %p, %d, %p, %p, %p), stub\n", debugstr_us(Su bsystemName), HandleId,
debugstr_us(ObjectTypeName), SecurityDescriptor, DesiredAccess, Generi cMapping, ObjectCreation, debugstr_us(ObjectTypeName), SecurityDescriptor, DesiredAccess, Generi cMapping, ObjectCreation,
GrantedAccess, AccessStatus, GenerateOnClose); GrantedAccess, AccessStatus, GenerateOnClose);
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
/******************************************************************************
* NtSystemDebugControl (NTDLL.@)
* ZwSystemDebugControl (NTDLL.@)
*/
NTSTATUS WINAPI NtSystemDebugControl(SYSDBG_COMMAND command, PVOID inbuffer, ULO
NG inbuflength, PVOID outbuffer,
ULONG outbuflength, PULONG retlength)
{
FIXME("(%d, %p, %d, %p, %d, %p), stub\n", command, inbuffer, inbuflength, ou
tbuffer, outbuflength, retlength);
return STATUS_NOT_IMPLEMENTED;
}
 End of changes. 5 change blocks. 
137 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)