mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Related-To: NEO-3677 Change-Id: I3374abde6717be20c064ec6d65c0751a783f5138 Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@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);
|