mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Stub GetCurrentPackageId() (#1942)
* [KERNEL32] Add stub implementation for GetCurrentPackageId() function This Windows 8+ function is called by WiX bundles (EXE-based installers) upon exit, if the export is present. If it is a stub in the spec, they will crash, even if they are coded to be compatible with Windows XP/ReactOS. Also add GetCurrentPackageId() forwarder to apiset.
This commit is contained in:
parent
3d84e25ac0
commit
192926ee02
4 changed files with 15 additions and 2 deletions
|
@ -40,7 +40,7 @@ add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_reactos.apisets_6595b64144ccf1d
|
||||||
# Apisets will be appended
|
# Apisets will be appended
|
||||||
|
|
||||||
add_apiset(api-ms-win-appmodel-identity-l1-1-0 0x60000000 )
|
add_apiset(api-ms-win-appmodel-identity-l1-1-0 0x60000000 )
|
||||||
add_apiset(api-ms-win-appmodel-runtime-l1-1-1 0x60020000 )
|
add_apiset(api-ms-win-appmodel-runtime-l1-1-1 0x60020000 kernel32)
|
||||||
add_apiset(api-ms-win-appmodel-runtime-l1-1-2 0x60040000 )
|
add_apiset(api-ms-win-appmodel-runtime-l1-1-2 0x60040000 )
|
||||||
add_apiset(api-ms-win-core-apiquery-l1-1-0 0x60060000 )
|
add_apiset(api-ms-win-core-apiquery-l1-1-0 0x60060000 )
|
||||||
add_apiset(api-ms-win-core-appcompat-l1-1-1 0x60070000 kernel32)
|
add_apiset(api-ms-win-core-appcompat-l1-1-1 0x60070000 kernel32)
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
@ stub GetCurrentApplicationUserModelId
|
@ stub GetCurrentApplicationUserModelId
|
||||||
@ stub GetCurrentPackageFamilyName
|
@ stub GetCurrentPackageFamilyName
|
||||||
@ stub GetCurrentPackageFullName
|
@ stub GetCurrentPackageFullName
|
||||||
@ stub GetCurrentPackageId
|
@ stdcall -version=0x602+ GetCurrentPackageId(ptr ptr) kernel32.GetCurrentPackageId
|
||||||
@ stub GetCurrentPackageInfo
|
@ stub GetCurrentPackageInfo
|
||||||
@ stub GetCurrentPackagePath
|
@ stub GetCurrentPackagePath
|
||||||
@ stub GetPackageApplicationIds
|
@ stub GetPackageApplicationIds
|
||||||
|
|
|
@ -582,3 +582,15 @@ SetSystemFileCacheSize(IN SIZE_T MinimumFileCacheSize,
|
||||||
STUB;
|
STUB;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
LONG
|
||||||
|
WINAPI
|
||||||
|
GetCurrentPackageId(UINT32 *BufferLength,
|
||||||
|
BYTE *Buffer)
|
||||||
|
{
|
||||||
|
STUB;
|
||||||
|
return APPMODEL_ERROR_NO_PACKAGE;
|
||||||
|
}
|
||||||
|
|
|
@ -430,6 +430,7 @@
|
||||||
@ stub -version=0x600+ GetCurrentConsoleFontEx
|
@ stub -version=0x600+ GetCurrentConsoleFontEx
|
||||||
@ stdcall GetCurrentDirectoryA(long ptr)
|
@ stdcall GetCurrentDirectoryA(long ptr)
|
||||||
@ stdcall GetCurrentDirectoryW(long ptr)
|
@ stdcall GetCurrentDirectoryW(long ptr)
|
||||||
|
@ stdcall -version=0x602+ GetCurrentPackageId(ptr ptr)
|
||||||
@ stdcall -norelay GetCurrentProcess()
|
@ stdcall -norelay GetCurrentProcess()
|
||||||
@ stdcall -norelay GetCurrentProcessId()
|
@ stdcall -norelay GetCurrentProcessId()
|
||||||
@ stdcall GetCurrentProcessorNumber() ntdll.RtlGetCurrentProcessorNumber
|
@ stdcall GetCurrentProcessorNumber() ntdll.RtlGetCurrentProcessorNumber
|
||||||
|
|
Loading…
Reference in a new issue