[DllImport("Kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)][return: MarshalAs(UnmanagedType.SysInt)] public static extern IntPtr lstrcpy(StringBuilder lpString1, string lpString2 );
Microsoft documentation: Link
Last updated 1 year ago