forked from reactos/reactos
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c75aea3
commit b860ca1
Showing
9 changed files
with
94 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
/* PSDK/NDK Headers */ | ||
#define WIN32_NO_STATUS | ||
#include <windef.h> | ||
#include <winbase.h> | ||
#include <wingdi.h> | ||
#include <winreg.h> | ||
#include <wincon.h> | ||
#include <winuser.h> | ||
|
||
BOOL | ||
WINAPI | ||
DllMain(HANDLE hDll, | ||
DWORD dwReason, | ||
LPVOID lpReserved) | ||
{ | ||
|
||
return TRUE; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
add_definitions(-D__WINESRC__ -D_KERNEL32_ -DWINVER=0x601 -D_WIN32_WINNT=0x601) | ||
add_definitions( | ||
-D__WINESRC__ | ||
-D_WINE | ||
-D__ROS_LONG64__ | ||
-D_KERNELBASE_) | ||
|
||
# TODO: | ||
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502) | ||
add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601) | ||
|
||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) | ||
|
||
list(APPEND SOURCE_STATIC | ||
#console.c #looks like ReactOS console.c is nothing like wine. | ||
loader.c | ||
) | ||
|
||
add_library(kernelbase_static ${SOURCE_STATIC}) | ||
target_link_libraries(kernelbase_static ${PSEH_LIB}) | ||
add_dependencies(kernelbase_static psdk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#pragma once | ||
|
||
//TODO: everything here belongs somewhere, to save time put them here. | ||
|
||
#define RESOURCE_ENUM_LN 0x0001 | ||
#define RESOURCE_ENUM_MUI 0x0002 | ||
#define RESOURCE_ENUM_MUI_SYSTEM 0x0004 | ||
#define RESOURCE_ENUM_VALIDATE 0x0008 | ||
|
||
|
||
NTSYSAPI NTSTATUS WINAPI RtlQueryActivationContextApplicationSettings(DWORD,HANDLE,const WCHAR*,const WCHAR*,WCHAR*,SIZE_T,SIZE_T*); | ||
NTSYSAPI NTSTATUS WINAPI LdrSetDefaultDllDirectories(ULONG); | ||
NTSYSAPI NTSTATUS WINAPI LdrRemoveDllDirectory(void*); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters