[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.Bool)] public static extern bool GetThreadSelectorEntry( IntPtr hThread, uint dwSelector, out LDT_ENTRY lpSelectorEntry );
Microsoft documentation: Link
Last updated 1 year ago