mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 03:53:29 +01:00
Windows Driver: use functions from ntstrsafe.h instead of strsafe.h since they are destined for kernel mode
This commit is contained in:
parent
d33c5b6f08
commit
d9e1d57a53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user