Skip to content

Commit

Permalink
kernel32: Add GetEnabledXStateFeatures() stub.
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Sivov <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
nsivov authored and julliard committed Feb 26, 2018
1 parent d4cc71c commit cb05be7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@ stub CopyContext
@ stub GetEnabledXStateFeatures
@ stdcall -ret64 -arch=i386,x86_64 GetEnabledXStateFeatures() kernel32.GetEnabledXStateFeatures
@ stub GetXStateFeaturesMask
@ stub InitializeContext
@ stub LocateXStateFeature
Expand Down
9 changes: 9 additions & 0 deletions dlls/kernel32/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,12 @@ DWORD WINAPI GetActiveProcessorCount(WORD group)
FIXME("semi-stub, returning %u\n", cpus);
return cpus;
}

/***********************************************************************
* GetEnabledXStateFeatures (KERNEL32.@)
*/
DWORD64 WINAPI GetEnabledXStateFeatures(void)
{
FIXME("\n");
return 0;
}
2 changes: 1 addition & 1 deletion dlls/kernel32/kernel32.spec
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@
# @ stub GetDurationFormat
# @ stub GetDurationFormatEx
@ stdcall GetDynamicTimeZoneInformation(ptr)
# @ stub GetEnabledXStateFeatures
@ stdcall -ret64 -arch=i386,x86_64 GetEnabledXStateFeatures()
@ stdcall GetEnvironmentStrings() GetEnvironmentStringsA
@ stdcall GetEnvironmentStringsA()
@ stdcall GetEnvironmentStringsW()
Expand Down
2 changes: 1 addition & 1 deletion dlls/kernelbase/kernelbase.spec
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
# @ stub GetEffectivePackageStatusForUser
# @ stub GetEightBitStringToUnicodeSizeRoutine
# @ stub GetEightBitStringToUnicodeStringRoutine
# @ stub GetEnabledXStateFeatures
@ stdcall -ret64 -arch=i386,x86_64 GetEnabledXStateFeatures() kernel32.GetEnabledXStateFeatures
@ stdcall GetEnvironmentStrings() kernel32.GetEnvironmentStrings
@ stdcall GetEnvironmentStringsA() kernel32.GetEnvironmentStringsA
@ stdcall GetEnvironmentStringsW() kernel32.GetEnvironmentStringsW
Expand Down

0 comments on commit cb05be7

Please sign in to comment.