ReactOS
0.4.16-dev-927-g467dec4
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
appcompat.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS Base API Server DLL
4
* FILE: subsystems/win/basesrv/appcompat.c
5
* PURPOSE: Initialization
6
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
7
*/
8
9
/* INCLUDES *******************************************************************/
10
11
#include "
basesrv.h
"
12
#include "
api.h
"
13
14
#define NDEBUG
15
#include <debug.h>
16
17
/* GLOBALS ********************************************************************/
18
19
typedef
struct
_BASE_APP_COMPAT_EXTRA1
20
{
21
WCHAR
String1
[32];
22
ULONG
tdwFlags
;
23
ULONG
SizeOfStruct
;
24
ULONG
tdwMagic
;
25
ULONG
ttrExe
;
26
ULONG
dword50
;
27
ULONG
dword54
;
28
ULONG
dword58
;
29
PVOID
ttrLayer
;
30
CHAR
String2
[28];
31
ULONG
dword7C
;
32
ULONG
dword80
;
33
ULONG
field_84
;
34
CHAR
String3
[256];
35
}
BASE_APP_COMPAT_EXTRA1
, *
PBASE_APP_COMPAT_EXTRA1
;
36
37
typedef
struct
_BASE_APP_COMPAT_DATA
38
{
39
UNICODE_STRING
FileName
;
40
HANDLE
ProcessHandle
;
41
ULONG
Flags
;
42
USHORT
Code
;
43
USHORT
Unknown_012
;
44
PVOID
Environment
;
45
ULONG
EnvironmentSize
;
46
PBASE_APP_COMPAT_EXTRA1
AppCompExtra1
;
47
ULONG
AppCompExtra1Size
;
48
PVOID
AppCompExtra2
;
49
ULONG
AppCompExtra2Size
;
50
BOOL
CheckRunAppResult
;
51
ULONG
Flags2
;
52
}
BASE_APP_COMPAT_DATA
, *
PBASE_APP_COMPAT_DATA
;
53
54
/* PUBLIC SERVER APIS *********************************************************/
55
56
CSR_API
(BaseSrvCheckApplicationCompatibility)
57
{
58
PBASE_APP_COMPAT_DATA
AppCompatData = (
PBASE_APP_COMPAT_DATA
)&ApiMessage->Data;
59
DPRINT1
(
"BASESRV: BaseSrvCheckApplicationCompatibility(%wZ)\n"
,
60
AppCompatData->
FileName
);
61
62
AppCompatData->
CheckRunAppResult
=
FALSE
;
63
64
return
STATUS_SUCCESS
;
65
}
66
67
/* EOF */
BASE_APP_COMPAT_DATA
struct _BASE_APP_COMPAT_DATA BASE_APP_COMPAT_DATA
BASE_APP_COMPAT_EXTRA1
struct _BASE_APP_COMPAT_EXTRA1 BASE_APP_COMPAT_EXTRA1
PBASE_APP_COMPAT_EXTRA1
struct _BASE_APP_COMPAT_EXTRA1 * PBASE_APP_COMPAT_EXTRA1
PBASE_APP_COMPAT_DATA
struct _BASE_APP_COMPAT_DATA * PBASE_APP_COMPAT_DATA
DPRINT1
#define DPRINT1
Definition:
precomp.h:8
basesrv.h
CSR_API
#define CSR_API(n)
Definition:
csrsrv.h:176
FALSE
#define FALSE
Definition:
types.h:117
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
void
Definition:
nsiface.idl:2307
USHORT
unsigned short USHORT
Definition:
pedump.c:61
STATUS_SUCCESS
#define STATUS_SUCCESS
Definition:
shellext.h:65
_BASE_APP_COMPAT_DATA
Definition:
appcompat.c:38
_BASE_APP_COMPAT_DATA::CheckRunAppResult
BOOL CheckRunAppResult
Definition:
appcompat.c:50
_BASE_APP_COMPAT_DATA::Flags2
ULONG Flags2
Definition:
appcompat.c:51
_BASE_APP_COMPAT_DATA::ProcessHandle
HANDLE ProcessHandle
Definition:
appcompat.c:40
_BASE_APP_COMPAT_DATA::Unknown_012
USHORT Unknown_012
Definition:
appcompat.c:43
_BASE_APP_COMPAT_DATA::Environment
PVOID Environment
Definition:
appcompat.c:44
_BASE_APP_COMPAT_DATA::Code
USHORT Code
Definition:
appcompat.c:42
_BASE_APP_COMPAT_DATA::EnvironmentSize
ULONG EnvironmentSize
Definition:
appcompat.c:45
_BASE_APP_COMPAT_DATA::Flags
ULONG Flags
Definition:
appcompat.c:41
_BASE_APP_COMPAT_DATA::AppCompExtra1
PBASE_APP_COMPAT_EXTRA1 AppCompExtra1
Definition:
appcompat.c:46
_BASE_APP_COMPAT_DATA::AppCompExtra2
PVOID AppCompExtra2
Definition:
appcompat.c:48
_BASE_APP_COMPAT_DATA::AppCompExtra1Size
ULONG AppCompExtra1Size
Definition:
appcompat.c:47
_BASE_APP_COMPAT_DATA::AppCompExtra2Size
ULONG AppCompExtra2Size
Definition:
appcompat.c:49
_BASE_APP_COMPAT_DATA::FileName
UNICODE_STRING FileName
Definition:
appcompat.c:39
_BASE_APP_COMPAT_EXTRA1
Definition:
appcompat.c:20
_BASE_APP_COMPAT_EXTRA1::tdwFlags
ULONG tdwFlags
Definition:
appcompat.c:22
_BASE_APP_COMPAT_EXTRA1::dword50
ULONG dword50
Definition:
appcompat.c:26
_BASE_APP_COMPAT_EXTRA1::dword7C
ULONG dword7C
Definition:
appcompat.c:31
_BASE_APP_COMPAT_EXTRA1::dword80
ULONG dword80
Definition:
appcompat.c:32
_BASE_APP_COMPAT_EXTRA1::ttrLayer
PVOID ttrLayer
Definition:
appcompat.c:29
_BASE_APP_COMPAT_EXTRA1::SizeOfStruct
ULONG SizeOfStruct
Definition:
appcompat.c:23
_BASE_APP_COMPAT_EXTRA1::dword54
ULONG dword54
Definition:
appcompat.c:27
_BASE_APP_COMPAT_EXTRA1::String1
WCHAR String1[32]
Definition:
appcompat.c:21
_BASE_APP_COMPAT_EXTRA1::dword58
ULONG dword58
Definition:
appcompat.c:28
_BASE_APP_COMPAT_EXTRA1::String3
CHAR String3[256]
Definition:
appcompat.c:34
_BASE_APP_COMPAT_EXTRA1::field_84
ULONG field_84
Definition:
appcompat.c:33
_BASE_APP_COMPAT_EXTRA1::ttrExe
ULONG ttrExe
Definition:
appcompat.c:25
_BASE_APP_COMPAT_EXTRA1::tdwMagic
ULONG tdwMagic
Definition:
appcompat.c:24
_BASE_APP_COMPAT_EXTRA1::String2
CHAR String2[28]
Definition:
appcompat.c:30
_UNICODE_STRING
Definition:
env_spec_w32.h:368
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
api.h
WCHAR
__wchar_t WCHAR
Definition:
xmlstorage.h:180
CHAR
char CHAR
Definition:
xmlstorage.h:175
subsystems
win
basesrv
appcompat.c
Generated on Sun Mar 30 2025 06:15:25 for ReactOS by
1.9.6