HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
security_win32.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
6#include "security.hpp"
7#include "../macros.hpp"
8#include <windows.h>
9
10namespace tt::inline v1 {
11
12
13inline void secure_clear(void *ptr, size_t size) noexcept
14{
15 SecureZeroMemory(ptr, size);
16}
17
18}
19
DOXYGEN BUG.
Definition algorithm.hpp:16
void secure_clear(void *ptr, size_t size) noexcept
Securely clear memory.
Definition security_win32.hpp:13