RtlStringCchCopy compilation error

i have included ntstrsafe.h and #define NTSTRSAFE_LIB in code
But getting RtlStringCchCopy undefined compile error
any help is good.

thank you.

Do you mean compile or link?

Compiler error: C4013 ‘RtlStringCchCopy’ undefined;

but RtlStringCchCopyW compiles

AFAICS that’s documented