[DllImport("userenv.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern bool LoadUserProfile( IntPtr hToken, ref PROFILEINFO lpProfileInfo );
Microsoft documentation: Link
Last updated 1 year ago