ntdll: Stub RtlQueryProcessPlaceholderCompatibilityMode().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50026
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2021-05-01 18:49:40 -05:00 committed by Alexandre Julliard
parent 19379007e5
commit 1a02b3f1c6
4 changed files with 22 additions and 0 deletions

View file

@ -898,6 +898,7 @@
@ stdcall RtlQueryProcessDebugInformation(long long ptr)
@ stub RtlQueryProcessHeapInformation
@ stub RtlQueryProcessLockInformation
@ stdcall RtlQueryProcessPlaceholderCompatibilityMode()
@ stub RtlQueryProperties
@ stub RtlQueryPropertyNames
@ stub RtlQueryPropertySet

View file

@ -37,6 +37,7 @@
#include "ntdll_misc.h"
#include "in6addr.h"
#include "ddk/ntddk.h"
#include "ddk/ntifs.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
WINE_DECLARE_DEBUG_CHANNEL(debugstr);
@ -2165,3 +2166,12 @@ NTSTATUS WINAPI RtlQueryPackageIdentity(HANDLE token, WCHAR *fullname, SIZE_T *f
FIXME("(%p, %p, %p, %p, %p, %p): stub\n", token, fullname, fullname_size, appid, appid_size, packaged);
return STATUS_NOT_FOUND;
}
/*********************************************************************
* RtlQueryProcessPlaceholderCompatibilityMode [NTDLL.@]
*/
char WINAPI RtlQueryProcessPlaceholderCompatibilityMode(void)
{
FIXME("stub\n");
return PHCM_APPLICATION_DEFAULT;
}

View file

@ -1212,6 +1212,7 @@
@ stdcall RtlQueryDynamicTimeZoneInformation(ptr)
@ stdcall RtlQueryInformationAcl(ptr ptr long long)
@ stdcall RtlQueryPackageIdentity(long ptr ptr ptr ptr ptr)
@ stdcall RtlQueryProcessPlaceholderCompatibilityMode()
@ stdcall RtlQueryRegistryValues(long ptr ptr ptr ptr)
@ stdcall RtlQueryRegistryValuesEx(long ptr ptr ptr ptr) RtlQueryRegistryValues
@ stdcall RtlQueryTimeZoneInformation(ptr)

View file

@ -21,6 +21,15 @@
#include "ntddk.h"
#define PHCM_ERROR_INVALID_PARAMETER ((char)-1)
#define PHCM_ERROR_NO_TEB ((char)-2)
#define PHCM_ERROR_NO_PEB ((char)-3)
#define PHCM_APPLICATION_DEFAULT ((char)0)
#define PHCM_DISGUISE_PLACEHOLDERS ((char)1)
#define PHCM_EXPOSE_PLACEHOLDERS ((char)2)
#define PHCM_DISGUISE_FULL_PLACEHOLDERS ((char)3)
#define PHCM_MAX ((char)3)
typedef struct _EX_PUSH_LOCK EX_PUSH_LOCK, *PEX_PUSH_LOCK;
typedef enum _FS_FILTER_SECTION_SYNC_TYPE
@ -140,5 +149,6 @@ BOOLEAN WINAPI PsIsSystemThread(PETHREAD);
NTSTATUS WINAPI PsLookupProcessByProcessId(HANDLE,PEPROCESS*);
NTSTATUS WINAPI PsLookupThreadByThreadId(HANDLE,PETHREAD*);
void WINAPI PsRevertToSelf(void);
char WINAPI RtlQueryProcessPlaceholderCompatibilityMode(void);
#endif