Last updated 1 year ago
[DllImport("userenv.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern bool GetGPOList( [MarshalAs(UnmanagedType.LPWStr)] string lpName, IntPtr lpHandler, IntPtr lpArgs, uint dwFlags, IntPtr pGPOList );
Microsoft documentation: