> > Again StrCpyNW is a shlwapi export, and since you just allocated the > > buffer of correct length memcpy + adding an explicit '\0' terminator look > > more naturally here (if not kernel32.lstrcpynW). > > I'm allowed to use memcpy? Isn't that a native Linux function?
It's a C library function. Got nothing to do with Linux. Cheers, Kuba