mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
67 lines
1.7 KiB
C
67 lines
1.7 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Base API Server DLL
|
|
* FILE: subsystems/win/basesrv/appcompat.c
|
|
* PURPOSE: Initialization
|
|
* PROGRAMMERS: Timo Kreuzer (timo.kreuzer@reactos.org)
|
|
*/
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include "basesrv.h"
|
|
#include "api.h"
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
/* GLOBALS ********************************************************************/
|
|
|
|
typedef struct _BASE_APP_COMPAT_EXTRA1
|
|
{
|
|
WCHAR String1[32];
|
|
ULONG tdwFlags;
|
|
ULONG SizeOfStruct;
|
|
ULONG tdwMagic;
|
|
ULONG ttrExe;
|
|
ULONG dword50;
|
|
ULONG dword54;
|
|
ULONG dword58;
|
|
PVOID ttrLayer;
|
|
CHAR String2[28];
|
|
ULONG dword7C;
|
|
ULONG dword80;
|
|
ULONG field_84;
|
|
CHAR String3[256];
|
|
} BASE_APP_COMPAT_EXTRA1, *PBASE_APP_COMPAT_EXTRA1;
|
|
|
|
typedef struct _BASE_APP_COMPAT_DATA
|
|
{
|
|
UNICODE_STRING FileName;
|
|
HANDLE ProcessHandle;
|
|
ULONG Flags;
|
|
USHORT Code;
|
|
USHORT Unknown_012;
|
|
PVOID Environment;
|
|
ULONG EnvironmentSize;
|
|
PBASE_APP_COMPAT_EXTRA1 AppCompExtra1;
|
|
ULONG AppCompExtra1Size;
|
|
PVOID AppCompExtra2;
|
|
ULONG AppCompExtra2Size;
|
|
BOOL CheckRunAppResult;
|
|
ULONG Flags2;
|
|
} BASE_APP_COMPAT_DATA, *PBASE_APP_COMPAT_DATA;
|
|
|
|
/* PUBLIC SERVER APIS *********************************************************/
|
|
|
|
CSR_API(BaseSrvCheckApplicationCompatibility)
|
|
{
|
|
PBASE_APP_COMPAT_DATA AppCompatData = (PBASE_APP_COMPAT_DATA)&ApiMessage->Data;
|
|
DPRINT1("BASESRV: BaseSrvCheckApplicationCompatibility(%wZ)\n",
|
|
AppCompatData->FileName);
|
|
|
|
AppCompatData->CheckRunAppResult = FALSE;
|
|
|
|
return STATUS_SUCCESS;
|
|
}
|
|
|
|
/* EOF */
|