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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user