This commit is contained in:
Mike Battista 2021-06-16 12:21:07 -07:00
Родитель 58a4e118f2
Коммит 8fbe252c3b
4 изменённых файлов: 56 добавлений и 0 удалений

Просмотреть файл

@ -1,6 +1,7 @@
using System;
using System.Runtime.InteropServices;
using Windows.Win32.Interop;
using static Windows.Win32.UI.Controls.Apis;
namespace Windows.Win32.UI.Controls
{
@ -19,5 +20,16 @@ namespace Windows.Win32.UI.Controls
public const int TVI_SORT = -0x0FFFD;
public const uint BCN_FIRST = unchecked((uint)-1250);
// These are defined in winuser.h and richedit.h with
// different values. Exclude them from the ConstantsScraper
// and manually define them here with the values from winuser.h.
// Also define EM_SETLIMITTEXT as an alias for EM_LIMITTEXT.
// https://github.com/microsoft/win32metadata/issues/527
public const uint EM_SCROLLCARET = 0x00B7;
public const uint EM_SETLIMITTEXT = EM_LIMITTEXT;
public const uint EM_GETLIMITTEXT = 0x00D5;
public const uint EM_POSFROMCHAR = 0x00D6;
public const uint EM_CHARFROMPOS = 0x00D7;
}
}

Просмотреть файл

@ -1969,6 +1969,46 @@ DRAWTEXTPARAMS=Windows.Win32.Graphics.Gdi
DrawTextW=Windows.Win32.Graphics.Gdi
EDITWORDBREAKPROCA=Windows.Win32.UI.Controls
EDITWORDBREAKPROCW=Windows.Win32.UI.Controls
EM_CANUNDO=Windows.Win32.UI.Controls
EM_CHARFROMPOS=Windows.Win32.UI.Controls
EM_EMPTYUNDOBUFFER=Windows.Win32.UI.Controls
EM_ENABLEFEATURE=Windows.Win32.UI.Controls
EM_FMTLINES=Windows.Win32.UI.Controls
EM_GETFIRSTVISIBLELINE=Windows.Win32.UI.Controls
EM_GETHANDLE=Windows.Win32.UI.Controls
EM_GETIMESTATUS=Windows.Win32.UI.Controls
EM_GETLIMITTEXT=Windows.Win32.UI.Controls
EM_GETLINE=Windows.Win32.UI.Controls
EM_GETLINECOUNT=Windows.Win32.UI.Controls
EM_GETMARGINS=Windows.Win32.UI.Controls
EM_GETMODIFY=Windows.Win32.UI.Controls
EM_GETPASSWORDCHAR=Windows.Win32.UI.Controls
EM_GETRECT=Windows.Win32.UI.Controls
EM_GETSEL=Windows.Win32.UI.Controls
EM_GETTHUMB=Windows.Win32.UI.Controls
EM_GETWORDBREAKPROC=Windows.Win32.UI.Controls
EM_LIMITTEXT=Windows.Win32.UI.Controls
EM_LINEFROMCHAR=Windows.Win32.UI.Controls
EM_LINEINDEX=Windows.Win32.UI.Controls
EM_LINELENGTH=Windows.Win32.UI.Controls
EM_LINESCROLL=Windows.Win32.UI.Controls
EM_POSFROMCHAR=Windows.Win32.UI.Controls
EM_REPLACESEL=Windows.Win32.UI.Controls
EM_SCROLL=Windows.Win32.UI.Controls
EM_SCROLLCARET=Windows.Win32.UI.Controls
EM_SETHANDLE=Windows.Win32.UI.Controls
EM_SETIMESTATUS=Windows.Win32.UI.Controls
EM_SETLIMITTEXT=Windows.Win32.UI.Controls
EM_SETMARGINS=Windows.Win32.UI.Controls
EM_SETMODIFY=Windows.Win32.UI.Controls
EM_SETPASSWORDCHAR=Windows.Win32.UI.Controls
EM_SETREADONLY=Windows.Win32.UI.Controls
EM_SETRECT=Windows.Win32.UI.Controls
EM_SETRECTNP=Windows.Win32.UI.Controls
EM_SETSEL=Windows.Win32.UI.Controls
EM_SETTABSTOPS=Windows.Win32.UI.Controls
EM_SETWORDBREAKPROC=Windows.Win32.UI.Controls
EM_UNDO=Windows.Win32.UI.Controls
EmptyClipboard=Windows.Win32.System.DataExchange
EnableMouseInPointer=Windows.Win32.UI.PointerInput
EnableNonClientDpiScaling=Windows.Win32.UI.HiDpi

Просмотреть файл

@ -120,3 +120,7 @@ _WIN32_WINNT
_INC_DIGITALV
_INC_MMREG
_DRVRESERVED
EM_CHARFROMPOS
EM_GETLIMITTEXT
EM_POSFROMCHAR
EM_SCROLLCARET

Двоичные данные
scripts/BaselineWinmd/Windows.Win32.winmd

Двоичный файл не отображается.