Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Sep 18, 2023
1 parent 3637446 commit 52e2f6b
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 107 deletions.
13 changes: 7 additions & 6 deletions dll/win32/kernel32/client/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3769,6 +3769,7 @@ CreateProcessInternalW(IN HANDLE hUserToken,
ASSERT(NT_SUCCESS(ImageDbgStatus));
ImageDbgStatus = RtlAppendUnicodeToString(&DebuggerString, lpCommandLine);
ASSERT(NT_SUCCESS(ImageDbgStatus));
UNREFERENCED_PARAMETER(ImageDbgStatus);

/* Make sure it all looks nice */
DbgPrint("BASE: Calling debugger with '%wZ'\n", &DebuggerString);
Expand Down Expand Up @@ -4810,7 +4811,7 @@ WinExec(LPCSTR lpCmdLine,
}


BOOL GetProcessGroupAffinity(HANDLE hProcess, PUSHORT GroupCount, PUSHORT GroupArray)
BOOL WINAPI GetProcessGroupAffinity(HANDLE hProcess, PUSHORT GroupCount, PUSHORT GroupArray)
{
PROCESS_INFORMATION ProcessInfo;
NTSTATUS Status;
Expand All @@ -4834,7 +4835,7 @@ BOOL GetProcessGroupAffinity(HANDLE hProcess, PUSHORT GroupCount, PUSHORT GroupA

}

BOOL SetThreadGroupAffinity(HANDLE hThread, const GROUP_AFFINITY *GroupAffinity, PGROUP_AFFINITY PreviousGroupAffinity)
BOOL WINAPI SetThreadGroupAffinity(HANDLE hThread, const GROUP_AFFINITY *GroupAffinity, PGROUP_AFFINITY PreviousGroupAffinity)

{
DWORD_PTR ProcessAffinityMask;
Expand All @@ -4857,7 +4858,7 @@ BOOL SetThreadGroupAffinity(HANDLE hThread, const GROUP_AFFINITY *GroupAffinity,
return SetThreadAffinityMask(hThread, GroupAffinity->Mask);
}

BOOL GetThreadGroupAffinity(HANDLE hThread, PGROUP_AFFINITY GroupAffinity)
BOOL WINAPI GetThreadGroupAffinity(HANDLE hThread, PGROUP_AFFINITY GroupAffinity)

{
DWORD_PTR ProcessAffinityMask;
Expand All @@ -4879,7 +4880,7 @@ BOOL GetThreadGroupAffinity(HANDLE hThread, PGROUP_AFFINITY GroupAffinity)
return TRUE;
}

BOOL GetThreadIdealProcessorEx(HANDLE hThread, PPROCESSOR_NUMBER lpIdealProcessor)
BOOL WINAPI GetThreadIdealProcessorEx(HANDLE hThread, PPROCESSOR_NUMBER lpIdealProcessor)

{
lpIdealProcessor->Number = SetThreadIdealProcessor(hThread, MAXIMUM_PROCESSORS);
Expand All @@ -4891,7 +4892,7 @@ BOOL GetThreadIdealProcessorEx(HANDLE hThread, PPROCESSOR_NUMBER lpIdealProcesso
return TRUE;
}

BOOL SetThreadIdealProcessorEx(HANDLE hThread, PPROCESSOR_NUMBER lpIdealProcessor,
BOOL WINAPI SetThreadIdealProcessorEx(HANDLE hThread, PPROCESSOR_NUMBER lpIdealProcessor,
PPROCESSOR_NUMBER lpPreviousIdealProcessor)
{
lpPreviousIdealProcessor->Number = SetThreadIdealProcessor(hThread, lpIdealProcessor->Number);
Expand All @@ -4907,7 +4908,7 @@ BOOL
WINAPI
GetLogicalProcessorInformation(OUT PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer,
IN OUT PDWORD ReturnLength);
BOOL GetLogicalProcessorInformationEx(LOGICAL_PROCESSOR_RELATIONSHIP RelationshipType, PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX Buffer, PDWORD ReturnedLength)
BOOL WINAPI GetLogicalProcessorInformationEx(LOGICAL_PROCESSOR_RELATIONSHIP RelationshipType, PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX Buffer, PDWORD ReturnedLength)
{
PSYSTEM_LOGICAL_PROCESSOR_INFORMATION BufferClassic;
PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Ptr;
Expand Down
2 changes: 2 additions & 0 deletions dll/win32/kernel32/kernel32_vista/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH InitializeProcThreadAttributeList( struct _PROC_TH
}

BOOL
WINAPI
K32QueryWorkingSet(
HANDLE hProcess,
PVOID pv,
Expand All @@ -157,6 +158,7 @@ K32QueryWorkingSet(
}

BOOL
WINAPI
K32QueryWorkingSetEx(
HANDLE hProcess,
PVOID pv,
Expand Down
1 change: 1 addition & 0 deletions dll/win32/powrprof/powrprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,7 @@ typedef enum _POWER_PLATFORM_ROLE {
} POWER_PLATFORM_ROLE, *PPOWER_PLATFORM_ROLE;

POWER_PLATFORM_ROLE
WINAPI
PowerDeterminePlatformRoleEx(ULONG Version)
{
return PlatformRoleDesktop;
Expand Down
4 changes: 3 additions & 1 deletion dll/win32/psapi/psapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,9 @@ QueryWorkingSetEx(IN HANDLE hProcess,
return TRUE;
}

BOOL EnumProcessModulesEx(
BOOL
WINAPI
EnumProcessModulesEx(
HANDLE hProcess,
HMODULE *lphModule,
DWORD cb,
Expand Down
4 changes: 2 additions & 2 deletions dll/win32_vista/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ add_subdirectory(mfreadwrite)
add_subdirectory(ncrypt)
add_subdirectory(ndfapi)
#add_subdirectory(rstrtmgr)
add_subdirectory(shcore)
#add_subdirectory(shcore)
add_subdirectory(sspicli)
add_subdirectory(uianimation)
add_subdirectory(uiautomationcore)
#add_subdirectory(uiautomationcore)
#add_subdirectory(winecrt)
add_subdirectory(winusb)
#add_subdirectory(wsdapi)
29 changes: 5 additions & 24 deletions dll/win32_vista/shcore/shcore.rc
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
/*
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/

#define WINE_FILEDESCRIPTION_STR "Wine Shell Windows core for One-Core-API"
#define WINE_FILENAME_STR "shcore.dll"
#define WINE_FILEVERSION 6,0,6003,18010
#define WINE_FILEVERSION_STR "2.10.0"
#define WINE_PRODUCTVERSION 2,10,0
#define WINE_PRODUCTVERSION_STR "6.0.6003.18010"
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS cryptbase"
#define REACTOS_STR_INTERNAL_NAME "cryptbase"
#define REACTOS_STR_ORIGINAL_FILENAME "cryptbase.dll"
#include <reactos/version.rc>
2 changes: 1 addition & 1 deletion dll/win32_vista/uianimation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ add_dependencies(uianimation uianimation_idlheader stdole2)
set_module_type(uianimation win32dll ENTRYPOINT DllMain)
target_link_libraries(uianimation wine uuid)
add_delay_importlibs(uianimation user32)
add_importlibs(uianimation ntdll kernel32 msvcrt)
add_importlibs(uianimation msvcrt ntdll ntdll_vista kernel32 kernel32_vista)
add_cd_file(TARGET uianimation DESTINATION reactos/system32 FOR all)
29 changes: 5 additions & 24 deletions dll/win32_vista/uianimation/version.rc
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
/*
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/

#define WINE_FILEDESCRIPTION_STR "Wine Animation Manager"
#define WINE_FILENAME_STR "uianimation.dll"
#define WINE_FILEVERSION 6,0,6003,18010
#define WINE_FILEVERSION_STR "2.10.0"
#define WINE_PRODUCTVERSION 2,10,0
#define WINE_PRODUCTVERSION_STR "6.0.6003.18010"
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS cryptbase"
#define REACTOS_STR_INTERNAL_NAME "cryptbase"
#define REACTOS_STR_ORIGINAL_FILENAME "cryptbase.dll"
#include <reactos/version.rc>
30 changes: 5 additions & 25 deletions dll/win32_vista/uiautomationcore/uiautomationcore.rc
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
/*
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/

#define WINE_FILEDESCRIPTION_STR "Wine UI Automation Core"
#define WINE_FILENAME_STR "uiautomationcore.dll"
#define WINE_FILEVERSION 6,0,6003,18010
#define WINE_FILEVERSION_STR "2.10.0"
#define WINE_PRODUCTVERSION 2,10,0
#define WINE_PRODUCTVERSION_STR "6.0.6003.18010"

#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS cryptbase"
#define REACTOS_STR_INTERNAL_NAME "cryptbase"
#define REACTOS_STR_ORIGINAL_FILENAME "cryptbase.dll"
#include <reactos/version.rc>
29 changes: 5 additions & 24 deletions dll/win32_vista/winusb/version.rc
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
/*
* Copyright 2009 Henri Verbeet for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/

#define WINE_FILEDESCRIPTION_STR "Wine USB Driver User Library"
#define WINE_FILENAME_STR "winusb.dll"
#define WINE_FILEVERSION 6,0,6003,18010
#define WINE_FILEVERSION_STR "2.10.0"
#define WINE_PRODUCTVERSION 2,10,0
#define WINE_PRODUCTVERSION_STR "6.0.6003.18010"
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS cryptbase"
#define REACTOS_STR_INTERNAL_NAME "cryptbase"
#define REACTOS_STR_ORIGINAL_FILENAME "cryptbase.dll"
#include <reactos/version.rc>

0 comments on commit 52e2f6b

Please sign in to comment.