mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[APPHELP_APITEST] Fix build, addendum to commit a8755711b
This commit is contained in:
parent
a8755711b9
commit
2a5fd78f1b
3 changed files with 5 additions and 6 deletions
|
@ -21,9 +21,9 @@ void silence_debug_output(void); // Silence output if the environment var
|
|||
#define test_create_ne (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : test_create_ne_imp
|
||||
|
||||
/* register.cpp */
|
||||
BOOL IsUserAdmin();
|
||||
BOOL IsUserAdmin(VOID);
|
||||
|
||||
static DWORD g_WinVersion;
|
||||
extern DWORD g_WinVersion;
|
||||
|
||||
#define WINVER_ANY 0
|
||||
#define WINVER_WINXP 0x0501
|
||||
|
|
|
@ -792,7 +792,7 @@ void test_create_db_imp(const WCHAR* name, int win10)
|
|||
}
|
||||
}
|
||||
|
||||
static DWORD g_WinVersion;
|
||||
DWORD g_WinVersion;
|
||||
DWORD get_host_winver(void)
|
||||
{
|
||||
if (!g_WinVersion)
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
#include <strsafe.h>
|
||||
#include "wine/test.h"
|
||||
|
||||
#include "apphelp_apitest.h"
|
||||
|
||||
static const unsigned char rawDB[] =
|
||||
{
|
||||
/* Header: Major, Minor, 'sdbf' */
|
||||
|
@ -79,7 +77,8 @@ BOOL (WINAPI *pSdbRegisterDatabaseEx)(LPCWSTR pszDatabasePath, DWORD dwDatabaseT
|
|||
BOOL (WINAPI *pSdbUnregisterDatabase)(REFGUID pguidDB);
|
||||
|
||||
|
||||
BOOL IsUserAdmin()
|
||||
extern "C"
|
||||
BOOL IsUserAdmin(VOID)
|
||||
{
|
||||
BOOL Result;
|
||||
SID_IDENTIFIER_AUTHORITY NtAuthority = { SECURITY_NT_AUTHORITY };
|
||||
|
|
Loading…
Reference in a new issue