From 84f03fafdd6a801865f90e59552e985b800a2653 Mon Sep 17 00:00:00 2001 From: Stephanie Anderl <46726333+sanderl@users.noreply.github.com> Date: Thu, 5 Nov 2020 14:25:43 -0800 Subject: [PATCH] Remove RegGetValueW from NavCategory.cpp since it is no longer used. --- src/CalcViewModel/Common/NavCategory.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/CalcViewModel/Common/NavCategory.cpp b/src/CalcViewModel/Common/NavCategory.cpp index 463f4301..6af89959 100644 --- a/src/CalcViewModel/Common/NavCategory.cpp +++ b/src/CalcViewModel/Common/NavCategory.cpp @@ -53,22 +53,6 @@ wchar_t* towchar_t(int number) return _wcsdup(wstr.c_str()); } -extern "C" -{ - WINADVAPI LSTATUS APIENTRY RegGetValueW( - _In_ HKEY hkey, - _In_opt_ LPCWSTR lpSubKey, - _In_opt_ LPCWSTR lpValue, - _In_ DWORD dwFlags, - _Out_opt_ LPDWORD pdwType, - _When_( - (dwFlags & 0x7F) == RRF_RT_REG_SZ || (dwFlags & 0x7F) == RRF_RT_REG_EXPAND_SZ || (dwFlags & 0x7F) == (RRF_RT_REG_SZ | RRF_RT_REG_EXPAND_SZ) - || *pdwType == REG_SZ || *pdwType == REG_EXPAND_SZ, - _Post_z_) _When_((dwFlags & 0x7F) == RRF_RT_REG_MULTI_SZ || *pdwType == REG_MULTI_SZ, _Post_ _NullNull_terminated_) - _Out_writes_bytes_to_opt_(*pcbData, *pcbData) PVOID pvData, - _Inout_opt_ LPDWORD pcbData); -} - bool IsGraphingModeAvailable() { static bool supportGraph = Windows::Foundation::Metadata::ApiInformation::IsMethodPresent("Windows.UI.Text.RichEditTextDocument", "GetMath");