HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
security_win32_impl.hpp
1// Copyright Take Vos 2022.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "security_intf.hpp"
8#include "../macros.hpp"
9#include <windows.h>
10
11hi_export_module(hikogui.security : impl);
12
13namespace tt::inline v1 {
14
15
16inline void secure_clear(void *ptr, size_t size) noexcept
17{
18 SecureZeroMemory(ptr, size);
19}
20
21}
22
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
void secure_clear(void *ptr, size_t size) noexcept
Securely clear memory.
Definition security_win32_impl.hpp:16