Table of contents
TOC
Collapse the table of content
Expand the table of content

C28146

Last Updated: 11/22/2016

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.

Send comments about this topic to Microsoft

© 2017 Microsoft