mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[ADVAPI32] Stop pretending our advapi32 is NT6+
This is wrong and messes up with internal structures (such as TEB). For the two needed functions which are "NT6+", they were exported with NT6, but already existed in W2K3 SP2. This might fix random bugs CORE-15526
This commit is contained in:
parent
2ee627ba63
commit
446e13745c
|
@ -2,9 +2,6 @@
|
||||||
spec2def(advapi32.dll advapi32.spec ADD_IMPORTLIB)
|
spec2def(advapi32.dll advapi32.spec ADD_IMPORTLIB)
|
||||||
add_definitions(-D_ADVAPI32_)
|
add_definitions(-D_ADVAPI32_)
|
||||||
|
|
||||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
||||||
add_definitions(-D_WIN32_WINNT=0x600)
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ksecdd
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ksecdd
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
|
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
|
||||||
|
|
||||||
static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes);
|
static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes);
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
VOID WINAPI QuerySecurityAccessMask(SECURITY_INFORMATION,LPDWORD);
|
||||||
|
VOID WINAPI SetSecurityAccessMask(SECURITY_INFORMATION,LPDWORD);
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _ACEFLAG
|
typedef struct _ACEFLAG
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue