mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Change-Id: I32905e07ea8653e0a5cce60a74d901a881c65002 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
33 lines
710 B
C++
33 lines
710 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <Windows.h>
|
|
#pragma warning(push)
|
|
#pragma warning(disable : 4005)
|
|
#include <ntstatus.h>
|
|
#pragma warning(pop)
|
|
// There is a conflict with max/min defined as macro in windows headers with std::max/std::min
|
|
#undef min
|
|
#undef max
|
|
#undef RegOpenKeyExA
|
|
#undef RegQueryValueExA
|
|
#pragma warning(disable : 4273)
|
|
LSTATUS APIENTRY RegOpenKeyExA(
|
|
HKEY hKey,
|
|
LPCSTR lpSubKey,
|
|
DWORD ulOptions,
|
|
REGSAM samDesired,
|
|
PHKEY phkResult);
|
|
LSTATUS APIENTRY RegQueryValueExA(
|
|
HKEY hKey,
|
|
LPCSTR lpValueName,
|
|
LPDWORD lpReserved,
|
|
LPDWORD lpType,
|
|
LPBYTE lpData,
|
|
LPDWORD lpcbData);
|