C28146

warning C28146: Kernel Mode drivers should use ntstrsafe.h, not strsafe.h. Found in source file

Additional information

The header ntstrsafe.h contains versions of the functions found in strsafe.h that are suitable for use in kernel mode code.

A kernel-mode driver includes Strsafe.h, instead of Ntstrsafe.h. For information about Ntstrsafe.h and Strsafe.h, see Using Safe String Functions.