1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Windows Driver: use functions from ntstrsafe.h instead of strsafe.h since they are destined for kernel mode

This commit is contained in:
Mounir IDRASSI
2021-08-29 15:21:26 +02:00
parent d33c5b6f08
commit d9e1d57a53

View File

@@ -19,7 +19,13 @@
#if !defined(_UEFI)
#include <string.h>
#ifndef TC_WINDOWS_BOOT
#ifdef TC_WINDOWS_DRIVER
#include <ntstrsafe.h>
#define StringCchCatW RtlStringCchCatW
#define StringCchCopyW RtlStringCchCopyW
#else
#include <strsafe.h>
#endif
#include "EncryptionThreadPool.h"
#endif
#endif