mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Remove RegGetValueW from NavCategory.cpp since it is no longer used.
This commit is contained in:
parent
4ed6e8727c
commit
84f03fafdd
1 changed files with 0 additions and 16 deletions
|
@ -53,22 +53,6 @@ wchar_t* towchar_t(int number)
|
||||||
return _wcsdup(wstr.c_str());
|
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()
|
bool IsGraphingModeAvailable()
|
||||||
{
|
{
|
||||||
static bool supportGraph = Windows::Foundation::Metadata::ApiInformation::IsMethodPresent("Windows.UI.Text.RichEditTextDocument", "GetMath");
|
static bool supportGraph = Windows::Foundation::Metadata::ApiInformation::IsMethodPresent("Windows.UI.Text.RichEditTextDocument", "GetMath");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue