Skip to content

Commit

Permalink
[APPHELP/SHIMENG] Begin implementing the core of the SHIM engine.
Browse files Browse the repository at this point in the history
With this, the basics of the app compat engine are implemented and should be functional.
Currently it is disable with a policy, to be enabled soon.
CORE-13284
CORE-11300

svn path=/trunk/; revision=75258
  • Loading branch information
learn-more committed Jul 1, 2017
1 parent 1fa3c1a commit 711a1cb
Show file tree
Hide file tree
Showing 4 changed files with 903 additions and 13 deletions.
2 changes: 1 addition & 1 deletion reactos/dll/appcompat/apphelp/CMakeLists.txt
Expand Up @@ -2,7 +2,7 @@
include_directories(${SHIMLIB_DIR})

remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)

spec2def(apphelp.dll apphelp.spec ADD_IMPORTLIB)

Expand Down
5 changes: 4 additions & 1 deletion reactos/dll/appcompat/apphelp/apphelp.h
Expand Up @@ -83,7 +83,9 @@ typedef struct tagSDBQUERYRESULT {
GUID rgGuidDB[SDB_MAX_SDBS];
} SDBQUERYRESULT, *PSDBQUERYRESULT;

#ifndef APPHELP_NOSDBPAPI
#include "sdbpapi.h"
#endif

/* sdbapi.c */
PWSTR SdbpStrDup(LPCWSTR string);
Expand Down Expand Up @@ -122,7 +124,8 @@ BOOL WINAPI SetPermLayerState(PCWSTR wszPath, PCWSTR wszLayer, DWORD dwFlags, BO
/* hsdb.c */
BOOL WINAPI SdbGetMatchingExe(HSDB hsdb, LPCWSTR path, LPCWSTR module_name, LPCWSTR env, DWORD flags, PSDBQUERYRESULT result);
BOOL WINAPI SdbTagIDToTagRef(HSDB hsdb, PDB pdb, TAGID tiWhich, TAGREF* ptrWhich);

BOOL WINAPI SdbTagRefToTagID(HSDB hsdb, TAGREF trWhich, PDB* ppdb, TAGID* ptiWhich);
BOOL WINAPI SdbUnpackAppCompatData(HSDB hsdb, LPCWSTR pszImageName, PVOID pData, PSDBQUERYRESULT pQueryResult);

#define ATTRIBUTE_AVAILABLE 0x1
#define ATTRIBUTE_FAILED 0x2
Expand Down

0 comments on commit 711a1cb

Please sign in to comment.