mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -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)
|
#if !defined(_UEFI)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifndef TC_WINDOWS_BOOT
|
#ifndef TC_WINDOWS_BOOT
|
||||||
|
#ifdef TC_WINDOWS_DRIVER
|
||||||
|
#include <ntstrsafe.h>
|
||||||
|
#define StringCchCatW RtlStringCchCatW
|
||||||
|
#define StringCchCopyW RtlStringCchCopyW
|
||||||
|
#else
|
||||||
#include <strsafe.h>
|
#include <strsafe.h>
|
||||||
|
#endif
|
||||||
#include "EncryptionThreadPool.h"
|
#include "EncryptionThreadPool.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user