Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0c90da7f
Commit
0c90da7f
authored
May 05, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move some stub functions to kernelbase.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a10f1e9d
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
172 additions
and
170 deletions
+172
-170
file.c
dlls/kernel32/file.c
+0
-23
kernel32.spec
dlls/kernel32/kernel32.spec
+13
-13
locale.c
dlls/kernel32/locale.c
+0
-28
process.c
dlls/kernel32/process.c
+0
-33
time.c
dlls/kernel32/time.c
+0
-24
version.c
dlls/kernel32/version.c
+0
-36
file.c
dlls/kernelbase/file.c
+22
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+13
-13
locale.c
dlls/kernelbase/locale.c
+27
-0
process.c
dlls/kernelbase/process.c
+45
-0
thread.c
dlls/kernelbase/thread.c
+12
-0
version.c
dlls/kernelbase/version.c
+40
-0
No files found.
dlls/kernel32/file.c
View file @
0c90da7f
...
...
@@ -456,29 +456,6 @@ BOOL WINAPI ReplaceFileA(LPCSTR lpReplacedFileName,LPCSTR lpReplacementFileName,
}
/**************************************************************************
* FindFirstStreamW (KERNEL32.@)
*/
HANDLE
WINAPI
FindFirstStreamW
(
LPCWSTR
filename
,
STREAM_INFO_LEVELS
infolevel
,
void
*
data
,
DWORD
flags
)
{
FIXME
(
"(%s, %d, %p, %x): stub!
\n
"
,
debugstr_w
(
filename
),
infolevel
,
data
,
flags
);
SetLastError
(
ERROR_HANDLE_EOF
);
return
INVALID_HANDLE_VALUE
;
}
/**************************************************************************
* FindNextStreamW (KERNEL32.@)
*/
BOOL
WINAPI
FindNextStreamW
(
HANDLE
handle
,
void
*
data
)
{
FIXME
(
"(%p, %p): stub!
\n
"
,
handle
,
data
);
SetLastError
(
ERROR_HANDLE_EOF
);
return
FALSE
;
}
/***********************************************************************
* OpenVxDHandle (KERNEL32.@)
*
...
...
dlls/kernel32/kernel32.spec
View file @
0c90da7f
...
...
@@ -171,7 +171,7 @@
@ stub BaseCleanupAppcompatCacheSupport
# @ stub BaseDllReadWriteIniFile
@ stub BaseDumpAppcompatCache
@ stdcall BaseFlushAppcompatCache()
@ stdcall
-import
BaseFlushAppcompatCache()
# @ stub BaseFormatObjectAttributes
# @ stub BaseFormatTimeOut
# @ stub BaseGenerateAppCompatData
...
...
@@ -488,7 +488,7 @@
# @ stub FindFirstFileTransactedW
@ stdcall -import FindFirstFileW(wstr ptr)
# @ stub FindFirstStreamTransactedW
@ stdcall FindFirstStreamW(wstr long ptr long)
@ stdcall
-import
FindFirstStreamW(wstr long ptr long)
@ stdcall FindFirstVolumeA(ptr long)
@ stdcall FindFirstVolumeMountPointA(str ptr long)
@ stdcall FindFirstVolumeMountPointW(wstr ptr long)
...
...
@@ -497,7 +497,7 @@
@ stdcall -import FindNextFileA(long ptr)
# @ stub FindNextFileNameW
@ stdcall -import FindNextFileW(long ptr)
@ stdcall FindNextStreamW(long ptr)
@ stdcall
-import
FindNextStreamW(long ptr)
@ stdcall FindNextVolumeA(long ptr long)
@ stub FindNextVolumeMountPointA
@ stub FindNextVolumeMountPointW
...
...
@@ -541,7 +541,7 @@
@ stdcall GetActiveProcessorCount(long)
@ stdcall GetActiveProcessorGroupCount()
# @ stub GetApplicationRecoveryCallback
@ stdcall GetApplicationRestartSettings(long ptr ptr ptr)
@ stdcall
-import
GetApplicationRestartSettings(long ptr ptr ptr)
@ stdcall GetAtomNameA(long ptr long)
@ stdcall GetAtomNameW(long ptr long)
@ stdcall GetBinaryType(str ptr) GetBinaryTypeA
...
...
@@ -626,9 +626,9 @@
@ stdcall GetCurrentConsoleFontEx(long long ptr)
@ stdcall -import GetCurrentDirectoryA(long ptr)
@ stdcall -import GetCurrentDirectoryW(long ptr)
@ stdcall GetCurrentPackageFamilyName(ptr ptr)
@ stdcall GetCurrentPackageFullName(ptr ptr)
@ stdcall GetCurrentPackageId(ptr ptr)
@ stdcall GetCurrentPackageFamilyName(ptr ptr)
kernelbase.GetCurrentPackageFamilyName
@ stdcall GetCurrentPackageFullName(ptr ptr)
kernelbase.GetCurrentPackageFullName
@ stdcall GetCurrentPackageId(ptr ptr)
kernelbase.GetCurrentPackageId
@ stdcall -norelay GetCurrentProcess() KERNEL32_GetCurrentProcess
@ stdcall -norelay GetCurrentProcessId() KERNEL32_GetCurrentProcessId
@ stdcall GetCurrentProcessorNumber() ntdll.NtGetCurrentProcessorNumber
...
...
@@ -678,8 +678,8 @@
# @ stub GetFileBandwidthReservation
@ stdcall -import GetFileInformationByHandle(long ptr)
@ stdcall -import GetFileInformationByHandleEx(long long ptr long)
@ stdcall GetFileMUIInfo(long wstr ptr ptr)
@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
@ stdcall
-import
GetFileMUIInfo(long wstr ptr ptr)
@ stdcall
-import
GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
@ stdcall -import GetFileSize(long ptr)
@ stdcall -import GetFileSizeEx(long ptr)
@ stdcall -import GetFileTime(long ptr ptr ptr)
...
...
@@ -762,7 +762,7 @@
@ stdcall -import GetOverlappedResult(long ptr ptr long)
@ stdcall -import GetOverlappedResultEx(long ptr ptr long long)
@ stdcall GetUserPreferredUILanguages(long ptr ptr ptr)
@ stdcall GetPackageFullName(long ptr ptr)
@ stdcall GetPackageFullName(long ptr ptr)
kernelbase.GetPackageFullName
@ stdcall -import GetPhysicallyInstalledSystemMemory(ptr)
@ stdcall -import GetPriorityClass(long)
@ stdcall GetPrivateProfileIntA(str str long str)
...
...
@@ -1156,7 +1156,7 @@
@ stdcall Process32FirstW (ptr ptr)
@ stdcall Process32Next (ptr ptr)
@ stdcall Process32NextW (ptr ptr)
@ stdcall ProcessIdToSessionId(long ptr)
@ stdcall
-import
ProcessIdToSessionId(long ptr)
@ stdcall -import PulseEvent(long)
@ stdcall -import PurgeComm(long long)
@ stdcall -i386 -private -norelay QT_Thunk() krnl386.exe16.QT_Thunk
...
...
@@ -1176,8 +1176,8 @@
@ stdcall -import QueryPerformanceCounter(ptr)
@ stdcall -import QueryPerformanceFrequency(ptr)
# @ stub QueryProcessAffinityUpdateMode
@ stdcall QueryProcessCycleTime(long ptr)
@ stdcall QueryThreadCycleTime(long ptr)
@ stdcall
-import
QueryProcessCycleTime(long ptr)
@ stdcall
-import
QueryThreadCycleTime(long ptr)
# @ stub QueryThreadProfiling
@ stdcall -import QueryThreadpoolStackInformation(ptr ptr)
@ stdcall -arch=x86_64 QueryUmsThreadInformation(ptr long ptr long ptr)
...
...
dlls/kernel32/locale.c
View file @
0c90da7f
...
...
@@ -534,31 +534,3 @@ INT WINAPI GetGeoInfoA(GEOID geoid, GEOTYPE geotype, LPSTR data, int data_len, L
SetLastError
(
ERROR_INSUFFICIENT_BUFFER
);
return
data_len
<
len
?
0
:
len
;
}
/******************************************************************************
* GetFileMUIPath (KERNEL32.@)
*/
BOOL
WINAPI
GetFileMUIPath
(
DWORD
flags
,
PCWSTR
filepath
,
PWSTR
language
,
PULONG
languagelen
,
PWSTR
muipath
,
PULONG
muipathlen
,
PULONGLONG
enumerator
)
{
FIXME
(
"stub: 0x%x, %s, %s, %p, %p, %p, %p
\n
"
,
flags
,
debugstr_w
(
filepath
),
debugstr_w
(
language
),
languagelen
,
muipath
,
muipathlen
,
enumerator
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* GetFileMUIInfo (KERNEL32.@)
*/
BOOL
WINAPI
GetFileMUIInfo
(
DWORD
flags
,
PCWSTR
path
,
FILEMUIINFO
*
info
,
DWORD
*
size
)
{
FIXME
(
"stub: %u, %s, %p, %p
\n
"
,
flags
,
debugstr_w
(
path
),
info
,
size
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
dlls/kernel32/process.c
View file @
0c90da7f
...
...
@@ -760,20 +760,6 @@ BOOL WINAPI K32GetProcessMemoryInfo(HANDLE process,
}
/***********************************************************************
* ProcessIdToSessionId (KERNEL32.@)
* This function is available on Terminal Server 4SP4 and Windows 2000
*/
BOOL
WINAPI
ProcessIdToSessionId
(
DWORD
procid
,
DWORD
*
sessionid_ptr
)
{
if
(
procid
!=
GetCurrentProcessId
())
FIXME
(
"Unsupported for other processes.
\n
"
);
*
sessionid_ptr
=
NtCurrentTeb
()
->
Peb
->
SessionId
;
return
TRUE
;
}
/***********************************************************************
* RegisterServiceProcess (KERNEL32.@)
*
* A service process calls this function to ensure that it continues to run
...
...
@@ -888,15 +874,6 @@ HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK
return
S_OK
;
}
/***********************************************************************
* GetApplicationRestartSettings (KERNEL32.@)
*/
HRESULT
WINAPI
GetApplicationRestartSettings
(
HANDLE
process
,
WCHAR
*
cmdline
,
DWORD
*
size
,
DWORD
*
flags
)
{
FIXME
(
"%p, %p, %p, %p)
\n
"
,
process
,
cmdline
,
size
,
flags
);
return
E_NOTIMPL
;
}
/**********************************************************************
* GetNumaNodeProcessorMask (KERNEL32.@)
*/
...
...
@@ -1133,13 +1110,3 @@ BOOL WINAPI UmsThreadYield(void *param)
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/**********************************************************************
* BaseFlushAppcompatCache (KERNEL32.@)
*/
BOOL
WINAPI
BaseFlushAppcompatCache
(
void
)
{
FIXME
(
": stub
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
dlls/kernel32/time.c
View file @
0c90da7f
...
...
@@ -389,30 +389,6 @@ BOOL WINAPI GetSystemTimes(LPFILETIME lpIdleTime, LPFILETIME lpKernelTime, LPFIL
return
TRUE
;
}
/***********************************************************************
* QueryProcessCycleTime (KERNEL32.@)
*/
BOOL
WINAPI
QueryProcessCycleTime
(
HANDLE
process
,
PULONG64
cycle
)
{
static
int
once
;
if
(
!
once
++
)
FIXME
(
"(%p,%p): stub!
\n
"
,
process
,
cycle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* QueryThreadCycleTime (KERNEL32.@)
*/
BOOL
WINAPI
QueryThreadCycleTime
(
HANDLE
thread
,
PULONG64
cycle
)
{
static
int
once
;
if
(
!
once
++
)
FIXME
(
"(%p,%p): stub!
\n
"
,
thread
,
cycle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* GetTickCount64 (KERNEL32.@)
*/
...
...
dlls/kernel32/version.c
View file @
0c90da7f
...
...
@@ -238,39 +238,3 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode)
FIXME
(
"(%d): stub
\n
"
,
bInstallMode
);
return
0
;
}
/***********************************************************************
* GetCurrentPackageId (KERNEL32.@)
*/
LONG
WINAPI
GetCurrentPackageId
(
UINT32
*
len
,
BYTE
*
buffer
)
{
FIXME
(
"(%p %p): stub
\n
"
,
len
,
buffer
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
/***********************************************************************
* GetCurrentPackageFamilyName (KERNEL32.@)
*/
LONG
WINAPI
GetCurrentPackageFamilyName
(
UINT32
*
length
,
PWSTR
name
)
{
FIXME
(
"(%p %p): stub
\n
"
,
length
,
name
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
/***********************************************************************
* GetCurrentPackageFullName (KERNEL32.@)
*/
LONG
WINAPI
GetCurrentPackageFullName
(
UINT32
*
length
,
PWSTR
name
)
{
FIXME
(
"(%p %p): stub
\n
"
,
length
,
name
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
/***********************************************************************
* GetPackageFullName (KERNEL32.@)
*/
LONG
WINAPI
GetPackageFullName
(
HANDLE
process
,
UINT32
*
length
,
PWSTR
name
)
{
FIXME
(
"(%p %p %p): stub
\n
"
,
process
,
length
,
name
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
dlls/kernelbase/file.c
View file @
0c90da7f
...
...
@@ -1302,6 +1302,17 @@ HANDLE WINAPI DECLSPEC_HOTPATCH FindFirstFileW( const WCHAR *filename, WIN32_FIN
}
/**************************************************************************
* FindFirstStreamW (kernelbase.@)
*/
HANDLE
WINAPI
FindFirstStreamW
(
const
WCHAR
*
filename
,
STREAM_INFO_LEVELS
level
,
void
*
data
,
DWORD
flags
)
{
FIXME
(
"(%s, %d, %p, %x): stub!
\n
"
,
debugstr_w
(
filename
),
level
,
data
,
flags
);
SetLastError
(
ERROR_HANDLE_EOF
);
return
INVALID_HANDLE_VALUE
;
}
/******************************************************************************
* FindNextFileA (kernelbase.@)
*/
...
...
@@ -1414,6 +1425,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH FindNextFileW( HANDLE handle, WIN32_FIND_DATAW *da
}
/**************************************************************************
* FindNextStreamW (kernelbase.@)
*/
BOOL
WINAPI
FindNextStreamW
(
HANDLE
handle
,
void
*
data
)
{
FIXME
(
"(%p, %p): stub!
\n
"
,
handle
,
data
);
SetLastError
(
ERROR_HANDLE_EOF
);
return
FALSE
;
}
/******************************************************************************
* FindClose (kernelbase.@)
*/
...
...
dlls/kernelbase/kernelbase.spec
View file @
0c90da7f
...
...
@@ -74,7 +74,7 @@
@ stub BaseDllFreeResourceId
@ stub BaseDllMapResourceIdW
@ stub BaseDumpAppcompatCache
@ stdcall BaseFlushAppcompatCache()
kernel32.BaseFlushAppcompatCache
@ stdcall BaseFlushAppcompatCache()
# @ stub BaseFormatObjectAttributes
# @ stub BaseFreeAppCompatDataForProcess
@ stdcall BaseGetNamedObjectDirectory(ptr)
...
...
@@ -360,7 +360,7 @@
# @ stub FindFirstFileNameW
@ stdcall FindFirstFileW(wstr ptr)
@ stdcall FindFirstFreeAce(ptr ptr)
@ stdcall FindFirstStreamW(wstr long ptr long)
kernel32.FindFirstStreamW
@ stdcall FindFirstStreamW(wstr long ptr long)
@ stdcall FindFirstVolumeW(ptr long)
@ stdcall FindNLSString(long long wstr long wstr long ptr)
@ stdcall FindNLSStringEx(wstr long wstr long wstr long ptr ptr ptr long)
...
...
@@ -368,7 +368,7 @@
@ stdcall FindNextFileA(long ptr)
# @ stub FindNextFileNameW
@ stdcall FindNextFileW(long ptr)
@ stdcall FindNextStreamW(long ptr)
kernel32.FindNextStreamW
@ stdcall FindNextStreamW(long ptr)
@ stdcall FindNextVolumeW(long ptr long)
# @ stub FindPackagesByPackageFamily
@ stdcall FindResourceExW(long wstr wstr long)
...
...
@@ -414,7 +414,7 @@
# @ stub GetAppDataFolder
# @ stub GetAppModelVersion
# @ stub GetApplicationRecoveryCallback
@ stdcall GetApplicationRestartSettings(long ptr ptr ptr)
kernel32.GetApplicationRestartSettings
@ stdcall GetApplicationRestartSettings(long ptr ptr ptr)
# @ stub GetApplicationUserModelId
# @ stub GetApplicationUserModelIdFromToken
# @ stub GetAppliedGPOListInternalA
...
...
@@ -457,9 +457,9 @@
# @ stub GetCurrentPackageApplicationContext
# @ stub GetCurrentPackageApplicationResourcesContext
# @ stub GetCurrentPackageContext
@ stdcall GetCurrentPackageFamilyName(ptr ptr)
kernel32.GetCurrentPackageFamilyName
@ stdcall GetCurrentPackageFullName(ptr ptr)
kernel32.GetCurrentPackageFullName
@ stdcall GetCurrentPackageId(ptr ptr)
kernel32.GetCurrentPackageId
@ stdcall GetCurrentPackageFamilyName(ptr ptr)
@ stdcall GetCurrentPackageFullName(ptr ptr)
@ stdcall GetCurrentPackageId(ptr ptr)
# @ stub GetCurrentPackageInfo
# @ stub GetCurrentPackagePath
# @ stub GetCurrentPackageResourcesContext
...
...
@@ -508,8 +508,8 @@
@ stdcall GetFileAttributesW(wstr)
@ stdcall GetFileInformationByHandle(long ptr)
@ stdcall GetFileInformationByHandleEx(long long ptr long)
@ stdcall GetFileMUIInfo(long wstr ptr ptr)
kernel32.GetFileMUIInfo
@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
kernel32.GetFileMUIPath
@ stdcall GetFileMUIInfo(long wstr ptr ptr)
@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
@ stdcall GetFileSecurityW(wstr long ptr long ptr)
@ stdcall GetFileSize(long ptr)
@ stdcall GetFileSizeEx(long ptr)
...
...
@@ -593,7 +593,7 @@
# @ stub GetPackageContext
# @ stub GetPackageFamilyName
# @ stub GetPackageFamilyNameFromToken
@ stdcall GetPackageFullName(long ptr ptr)
kernel32.GetPackageFullName
@ stdcall GetPackageFullName(long ptr ptr)
# @ stub GetPackageFullNameFromToken
# @ stub GetPackageId
# @ stub GetPackageInfo
...
...
@@ -1164,7 +1164,7 @@
@ stub PrivCopyFileExW
@ stdcall PrivilegeCheck(ptr ptr ptr)
@ stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long)
@ stdcall ProcessIdToSessionId(long ptr)
kernel32.ProcessIdToSessionId
@ stdcall ProcessIdToSessionId(long ptr)
# @ stub ProductIdFromPackageFamilyName
# @ stub PsmCreateKey
# @ stub PsmCreateKeyWithDynamicId
...
...
@@ -1206,13 +1206,13 @@
@ stdcall QueryPerformanceCounter(ptr) ntdll.RtlQueryPerformanceCounter
@ stdcall QueryPerformanceFrequency(ptr) ntdll.RtlQueryPerformanceFrequency
@ stub QueryProcessAffinityUpdateMode
@ stdcall QueryProcessCycleTime(long ptr)
kernel32.QueryProcessCycleTime
@ stdcall QueryProcessCycleTime(long ptr)
# @ stub QueryProtectedPolicy
@ stub QuerySecurityAccessMask
# @ stub QueryStateAtomValueInfo
# @ stub QueryStateContainerCreatedNew
# @ stub QueryStateContainerItemInfo
@ stdcall QueryThreadCycleTime(long ptr)
kernel32.QueryThreadCycleTime
@ stdcall QueryThreadCycleTime(long ptr)
@ stdcall QueryThreadpoolStackInformation(ptr ptr)
@ stdcall QueryUnbiasedInterruptTime(ptr) ntdll.RtlQueryUnbiasedInterruptTime
# @ stub QueryUnbiasedInterruptTimePrecise
...
...
dlls/kernelbase/locale.c
View file @
0c90da7f
...
...
@@ -3986,6 +3986,33 @@ done:
/******************************************************************************
* GetFileMUIInfo (kernelbase.@)
*/
BOOL
WINAPI
/* DECLSPEC_HOTPATCH */
GetFileMUIInfo
(
DWORD
flags
,
const
WCHAR
*
path
,
FILEMUIINFO
*
info
,
DWORD
*
size
)
{
FIXME
(
"stub: %u, %s, %p, %p
\n
"
,
flags
,
debugstr_w
(
path
),
info
,
size
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* GetFileMUIPath (kernelbase.@)
*/
BOOL
WINAPI
/* DECLSPEC_HOTPATCH */
GetFileMUIPath
(
DWORD
flags
,
const
WCHAR
*
filepath
,
WCHAR
*
language
,
ULONG
*
languagelen
,
WCHAR
*
muipath
,
ULONG
*
muipathlen
,
ULONGLONG
*
enumerator
)
{
FIXME
(
"stub: 0x%x, %s, %s, %p, %p, %p, %p
\n
"
,
flags
,
debugstr_w
(
filepath
),
debugstr_w
(
language
),
languagelen
,
muipath
,
muipathlen
,
enumerator
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/******************************************************************************
* GetGeoInfoW (kernelbase.@)
*/
INT
WINAPI
DECLSPEC_HOTPATCH
GetGeoInfoW
(
GEOID
id
,
GEOTYPE
type
,
WCHAR
*
data
,
int
count
,
LANGID
lang
)
...
...
dlls/kernelbase/process.c
View file @
0c90da7f
...
...
@@ -626,6 +626,17 @@ BOOL WINAPI DECLSPEC_HOTPATCH FlushInstructionCache( HANDLE process, LPCVOID add
/***********************************************************************
* GetApplicationRestartSettings (kernelbase.@)
*/
HRESULT
WINAPI
/* DECLSPEC_HOTPATCH */
GetApplicationRestartSettings
(
HANDLE
process
,
WCHAR
*
cmdline
,
DWORD
*
size
,
DWORD
*
flags
)
{
FIXME
(
"%p, %p, %p, %p)
\n
"
,
process
,
cmdline
,
size
,
flags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* GetCurrentProcess (kernelbase.@)
*/
HANDLE
WINAPI
kernelbase_GetCurrentProcess
(
void
)
...
...
@@ -866,6 +877,29 @@ HANDLE WINAPI DECLSPEC_HOTPATCH OpenProcess( DWORD access, BOOL inherit, DWORD i
/***********************************************************************
* ProcessIdToSessionId (kernelbase.@)
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
ProcessIdToSessionId
(
DWORD
procid
,
DWORD
*
sessionid
)
{
if
(
procid
!=
GetCurrentProcessId
())
FIXME
(
"Unsupported for other process %x
\n
"
,
procid
);
*
sessionid
=
NtCurrentTeb
()
->
Peb
->
SessionId
;
return
TRUE
;
}
/***********************************************************************
* QueryProcessCycleTime (kernelbase.@)
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
QueryProcessCycleTime
(
HANDLE
process
,
ULONG64
*
cycle
)
{
static
int
once
;
if
(
!
once
++
)
FIXME
(
"(%p,%p): stub!
\n
"
,
process
,
cycle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* SetErrorMode (kernelbase.@)
*/
UINT
WINAPI
DECLSPEC_HOTPATCH
SetErrorMode
(
UINT
mode
)
...
...
@@ -1042,6 +1076,17 @@ void init_startup_info( RTL_USER_PROCESS_PARAMETERS *params )
}
/**********************************************************************
* BaseFlushAppcompatCache (kernelbase.@)
*/
BOOL
WINAPI
BaseFlushAppcompatCache
(
void
)
{
FIXME
(
"stub
\n
"
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* GetCommandLineA (kernelbase.@)
*/
...
...
dlls/kernelbase/thread.c
View file @
0c90da7f
...
...
@@ -379,6 +379,18 @@ DWORD WINAPI DECLSPEC_HOTPATCH QueueUserAPC( PAPCFUNC func, HANDLE thread, ULONG
}
/***********************************************************************
* QueryThreadCycleTime (kernelbase.@)
*/
BOOL
WINAPI
DECLSPEC_HOTPATCH
QueryThreadCycleTime
(
HANDLE
thread
,
ULONG64
*
cycle
)
{
static
int
once
;
if
(
!
once
++
)
FIXME
(
"(%p,%p): stub!
\n
"
,
thread
,
cycle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/**********************************************************************
* ResumeThread (kernelbase.@)
*/
...
...
dlls/kernelbase/version.c
View file @
0c90da7f
...
...
@@ -1504,3 +1504,43 @@ BOOL WINAPI GetVersionExW( OSVERSIONINFOW *info )
}
return
TRUE
;
}
/***********************************************************************
* GetCurrentPackageFamilyName (kernelbase.@)
*/
LONG
WINAPI
/* DECLSPEC_HOTPATCH */
GetCurrentPackageFamilyName
(
UINT32
*
length
,
WCHAR
*
name
)
{
FIXME
(
"(%p %p): stub
\n
"
,
length
,
name
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
/***********************************************************************
* GetCurrentPackageFullName (kernelbase.@)
*/
LONG
WINAPI
/* DECLSPEC_HOTPATCH */
GetCurrentPackageFullName
(
UINT32
*
length
,
WCHAR
*
name
)
{
FIXME
(
"(%p %p): stub
\n
"
,
length
,
name
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
/***********************************************************************
* GetCurrentPackageId (kernelbase.@)
*/
LONG
WINAPI
/* DECLSPEC_HOTPATCH */
GetCurrentPackageId
(
UINT32
*
len
,
BYTE
*
buffer
)
{
FIXME
(
"(%p %p): stub
\n
"
,
len
,
buffer
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
/***********************************************************************
* GetPackageFullName (kernelbase.@)
*/
LONG
WINAPI
/* DECLSPEC_HOTPATCH */
GetPackageFullName
(
HANDLE
process
,
UINT32
*
length
,
WCHAR
*
name
)
{
FIXME
(
"(%p %p %p): stub
\n
"
,
process
,
length
,
name
);
return
APPMODEL_ERROR_NO_PACKAGE
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment