[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl, SetLastError = true)] public static extern size_t fwrite( IntPtr ptr, size_t size, size_t count, IntPtr stream );
Microsoft documentation: Link
Last updated 1 year ago