📄 winapi.txt
字号:
public const int S_QUEUEEMPTY = 0
public const int S_THRESHOLD = 1
public const int S_ALLTHRESHOLD = 2
public const int S_NORMAL = 0
public const int S_LEGATO = 1
public const int S_STACCATO = 2
public const int S_PERIOD512 = 0 // Freq = N/512 high pitch, less coarse hiss
public const int S_PERIOD1024 = 1 // Freq = N/1024
public const int S_PERIOD2048 = 2 // Freq = N/2048 low pitch, more coarse hiss
public const int S_PERIODVOICE = 3 // Source is frequency from voice channel (3)
public const int S_WHITE512 = 4 // Freq = N/512 high pitch, less coarse hiss
public const int S_WHITE1024 = 5 // Freq = N/1024
public const int S_WHITE2048 = 6 // Freq = N/2048 low pitch, more coarse hiss
public const int S_WHITEVOICE = 7 // Source is frequency from voice channel (3)
public const int S_SERDVNA = (-1) // Device not available
public const int S_SEROFM = (-2) // Out of memory
public const int S_SERMACT = (-3) // Music active
public const int S_SERQFUL = (-4) // Queue full
public const int S_SERBDNT = (-5) // Invalid note
public const int S_SERDLN = (-6) // Invalid note length
public const int S_SERDCC = (-7) // Invalid note count
public const int S_SERDTP = (-8) // Invalid tempo
public const int S_SERDVL = (-9) // Invalid volume
public const int S_SERDMD = (-10) // Invalid mode
public const int S_SERDSH = (-11) // Invalid shape
public const int S_SERDPT = (-12) // Invalid pitch
public const int S_SERDFQ = (-13) // Invalid frequency
public const int S_SERDDR = (-14) // Invalid duration
public const int S_SERDSR = (-15) // Invalid source
public const int S_SERDST = (-16) // Invalid state
public const int NMPWAIT_WAIT_FOREVER = HFFFF
public const int NMPWAIT_NOWAIT = H1
public const int NMPWAIT_USE_DEFAULT_WAIT = H0
public const int FS_CASE_IS_PRESERVED = FILE_CASE_PRESERVED_NAMES
public const int FS_CASE_SENSITIVE = FILE_CASE_SENSITIVE_SEARCH
public const int FS_UNICODE_STORED_ON_DISK = FILE_UNICODE_ON_DISK
public const int FS_PERSISTENT_ACLS = FILE_PERSISTENT_ACLS
public const int SECTION_QUERY = H1
public const int SECTION_MAP_WRITE = H2
public const int SECTION_MAP_READ = H4
public const int SECTION_MAP_EXECUTE = H8
public const int SECTION_EXTEND_SIZE = H10
public const int SECTION_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED Or SECTION_QUERY Or SECTION_MAP_WRITE Or SECTION_MAP_READ Or SECTION_MAP_EXECUTE Or SECTION_EXTEND_SIZE
public const int FILE_MAP_COPY = SECTION_QUERY
public const int FILE_MAP_WRITE = SECTION_MAP_WRITE
public const int FILE_MAP_READ = SECTION_MAP_READ
public const int FILE_MAP_ALL_ACCESS = SECTION_ALL_ACCESS
public const int OF_READ = H0
public const int OF_WRITE = H1
public const int OF_READWRITE = H2
public const int OF_SHARE_COMPAT = H0
public const int OF_SHARE_EXCLUSIVE = H10
public const int OF_SHARE_DENY_WRITE = H20
public const int OF_SHARE_DENY_READ = H30
public const int OF_SHARE_DENY_NONE = H40
public const int OF_PARSE = H100
public const int OF_DELETE = H200
public const int OF_VERIFY = H400
public const int OF_CANCEL = H800
public const int OF_CREATE = H1000
public const int OF_PROMPT = H2000
public const int OF_EXIST = H4000
public const int OF_REOPEN = H8000
public const int OFS_MAXPATHNAME = 128
public const int PROCESSOR_INTEL_386 = 386
public const int PROCESSOR_INTEL_486 = 486
public const int PROCESSOR_INTEL_PENTIUM = 586
public const int PROCESSOR_MIPS_R4000 = 4000
public const int PROCESSOR_ALPHA_21064 = 21064
public const int PROCESSOR_ARCHITECTURE_INTEL = 0
public const int PROCESSOR_ARCHITECTURE_MIPS = 1
public const int PROCESSOR_ARCHITECTURE_ALPHA = 2
public const int PROCESSOR_ARCHITECTURE_PPC = 3
public const int PROCESSOR_ARCHITECTURE_UNKNOWN = hFFFF
public const int DFC_CAPTION = 1
public const int DFC_MENU = 2
public const int DFC_SCROLL = 3
public const int DFC_BUTTON = 4
public const int DFCS_CAPTIONCLOSE = H0
public const int DFCS_CAPTIONMIN = H1
public const int DFCS_CAPTIONMAX = H2
public const int DFCS_CAPTIONRESTORE = H3
public const int DFCS_CAPTIONHELP = H4
public const int DFCS_MENUARROW = H0
public const int DFCS_MENUCHECK = H1
public const int DFCS_MENUBULLET = H2
public const int DFCS_MENUARROWRIGHT = H4
public const int DFCS_SCROLLUP = H0
public const int DFCS_SCROLLDOWN = H1
public const int DFCS_SCROLLLEFT = H2
public const int DFCS_SCROLLRIGHT = H3
public const int DFCS_SCROLLCOMBOBOX = H5
public const int DFCS_SCROLLSIZEGRIP = H8
public const int DFCS_SCROLLSIZEGRIPRIGHT = H10
public const int DFCS_BUTTONCHECK = H0
public const int DFCS_BUTTONRADIOIMAGE = H1
public const int DFCS_BUTTONRADIOMASK = H2
public const int DFCS_BUTTONRADIO = H4
public const int DFCS_BUTTON3STATE = H8
public const int DFCS_BUTTONPUSH = H10
public const int DFCS_INACTIVE = H100
public const int DFCS_PUSHED = H200
public const int DFCS_CHECKED = H400
public const int DFCS_ADJUSTRECT = H2000
public const int DFCS_FLAT = H4000
public const int DFCS_MONO = H8000
public const int TF_FORCEDRIVE = H80
public const int LOCKFILE_FAIL_IMMEDIATELY = H1
public const int LOCKFILE_EXCLUSIVE_LOCK = H2
public const int RT_CURSOR = 1
public const int RT_BITMAP = 2
public const int RT_ICON = 3
public const int RT_MENU = 4
public const int RT_DIALOG = 5
public const int RT_STRING = 6
public const int RT_FONTDIR = 7
public const int RT_FONT = 8
public const int RT_ACCELERATOR = 9
public const int RT_RCDATA = 10
public const int DDD_RAW_TARGET_PATH = H1
public const int DDD_REMOVE_DEFINITION = H2
public const int DDD_EXACT_MATCH_ON_REMOVE = H4
public const int MAX_PATH = 260
public const int MOVEFILE_REPLACE_EXISTING = H1
public const int MOVEFILE_COPY_ALLOWED = H2
public const int MOVEFILE_DELAY_UNTIL_REBOOT = H4
public const int TokenUser = 1
public const int TokenGroups = 2
public const int TokenPrivileges = 3
public const int TokenOwner = 4
public const int TokenPrimaryGroup = 5
public const int TokenDefaultDacl = 6
public const int TokenSource = 7
public const int TokenType = 8
public const int TokenImpersonationLevel = 9
public const int TokenStatistics = 10
public const int GET_TAPE_MEDIA_INFORMATION = 0
public const int GET_TAPE_DRIVE_INFORMATION = 1
public const int SET_TAPE_MEDIA_INFORMATION = 0
public const int SET_TAPE_DRIVE_INFORMATION = 1
public const int FORMAT_MESSAGE_ALLOCATE_BUFFER = H100
public const int FORMAT_MESSAGE_IGNORE_INSERTS = H200
public const int FORMAT_MESSAGE_FROM_STRING = H400
public const int FORMAT_MESSAGE_FROM_HMODULE = H800
public const int FORMAT_MESSAGE_FROM_SYSTEM = H1000
public const int FORMAT_MESSAGE_ARGUMENT_ARRAY = H2000
public const int FORMAT_MESSAGE_MAX_WIDTH_MASK = HFF
public const int TLS_OUT_OF_INDEXES = HFFFF
public const int BACKUP_DATA = H1
public const int BACKUP_EA_DATA = H2
public const int BACKUP_SECURITY_DATA = H3
public const int BACKUP_ALTERNATE_DATA = H4
public const int BACKUP_LINK = H5
public const int STARTF_USESHOWWINDOW = H1
public const int STARTF_USESIZE = H2
public const int STARTF_USEPOSITION = H4
public const int STARTF_USECOUNTCHARS = H8
public const int STARTF_USEFILLATTRIBUTE = H10
public const int STARTF_RUNFULLSCREEN = H20 // ignored for non-x86 platforms
public const int STARTF_FORCEONFEEDBACK = H40
public const int STARTF_FORCEOFFFEEDBACK = H80
public const int STARTF_USESTDHANDLES = H100
public const int SHUTDOWN_NORETRY = H1
public const int TC_NORMAL = 0
public const int TC_HARDERR = 1
public const int TC_GP_TRAP = 2
public const int TC_SIGNAL = 3
public const int MB_PRECOMPOSED = H1 // use precomposed chars
public const int MB_COMPOSITE = H2 // use composite chars
public const int MB_USEGLYPHCHARS = H4 // use glyph chars, not ctrl chars
public const int WC_DEFAULTCHECK = H100 // check for default char
public const int WC_COMPOSITECHECK = H200 // convert composite to precomposed
public const int WC_DISCARDNS = H10 // discard non-spacing chars
public const int WC_SEPCHARS = H20 // generate separate chars
public const int WC_DEFAULTCHAR = H40 // replace w/ default char
public const int CT_CTYPE1 = H1 // ctype 1 information
public const int CT_CTYPE2 = H2 // ctype 2 information
public const int CT_CTYPE3 = H4 // ctype 3 information
public const int C1_UPPER = H1
public const int C1_LOWER = H2
public const int C1_DIGIT = H4
public const int C1_SPACE = H8
public const int C1_PUNCT = H10
public const int C1_CNTRL = H20
public const int C1_BLANK = H40
public const int C1_XDIGIT = H80
public const int C1_ALPHA = H100
public const int C2_LEFTTORIGHT = H1
public const int C2_RIGHTTOLEFT = H2
public const int C2_EUROPENUMBER = H3
public const int C2_EUROPESEPARATOR = H4
public const int C2_EUROPETERMINATOR = H5
public const int C2_ARABICNUMBER = H6
public const int C2_COMMONSEPARATOR = H7
public const int C2_BLOCKSEPARATOR = H8
public const int C2_SEGMENTSEPARATOR = H9
public const int C2_WHITESPACE = HA
public const int C2_OTHERNEUTRAL = HB
public const int C2_NOTAPPLICABLE = H0
public const int C3_NONSPACING = H1
public const int C3_DIACRITIC = H2
public const int C3_VOWELMARK = H4
public const int C3_SYMBOL = H8
public const int C3_NOTAPPLICABLE = H0
public const int NORM_IGNORECASE = H1
public const int NORM_IGNORENONSPACE = H2
public const int NORM_IGNORESYMBOLS = H4
public const int MAP_FOLDCZONE = H10
public const int MAP_PRECOMPOSED = H20
public const int MAP_COMPOSITE = H40
public const int MAP_FOLDDIGITS = H80
public const int LCMAP_LOWERCASE = H100
public const int LCMAP_UPPERCASE = H200
public const int LCMAP_SORTKEY = H400
public const int LCMAP_BYTEREV = H800
public const int SORT_STRINGSORT = H1000
public const int CP_ACP = 0
public const int CP_OEMCP = 1
public const int CTRY_DEFAULT = 0
public const int CTRY_AUSTRALIA = 61
public const int CTRY_AUSTRIA = 43
public const int CTRY_BELGIUM = 32
public const int CTRY_BRAZIL = 55
public const int CTRY_CANADA = 2
public const int CTRY_DENMARK = 45
public const int CTRY_FINLAND = 358
public const int CTRY_FRANCE = 33
public const int CTRY_GERMANY = 49
public const int CTRY_ICELAND = 354
public const int CTRY_IRELAND = 353
public const int CTRY_ITALY = 39
public const int CTRY_JAPAN = 81
public const int CTRY_MEXICO = 52
public const int CTRY_NETHERLANDS = 31
public const int CTRY_NEW_ZEALAND = 64
public const int CTRY_NORWAY = 47
public const int CTRY_PORTUGAL = 351
public const int CTRY_PRCHINA = 86
public const int CTRY_SOUTH_KOREA = 82
public const int CTRY_SPAIN = 34
public const int CTRY_SWEDEN = 46
public const int CTRY_SWITZERLAND = 41
public const int CTRY_TAIWAN = 886
public const int CTRY_UNITED_KINGDOM = 44
public const int CTRY_UNITED_STATES = 1
public const int LOCALE_NOUSEROVERRIDE = H80000000 // do not use user overrides
public const int LOCALE_ILANGUAGE = H1
public const int LOCALE_SLANGUAGE = H2
public const int LOCALE_SENGLANGUAGE = H1001
public const int LOCALE_SABBREVLANGNAME = H3
public const int LOCALE_SNATIVELANGNAME = H4
public const int LOCALE_ICOUNTRY = H5
public const int LOCALE_SCOUNTRY = H6
public const int LOCALE_SENGCOUNTRY = H1002
public const int LOCALE_SABBREVCTRYNAME = H7
public const int LOCALE_SNATIVECTRYNAME = H8
public const int LOCALE_IDEFAULTLANGUAGE = H9
public const int LOCALE_IDEFAULTCOUNTRY = HA
public const int LOCALE_IDEFAULTCODEPAGE = HB
public const int LOCALE_SLIST = HC
public const int LOCALE_IMEASURE = HD
public const int LOCALE_SDECIMAL = HE
public const int LOCALE_STHOUSAND = HF
public const int LOCALE_SGROUPING = H10
public const int LOCALE_IDIGITS = H11
public const int LOCALE_ILZERO = H12
public const int LOCALE_SNATIVEDIGITS = H13
public const int LOCALE_SCURRENCY = H14
public const int LOCALE_SINTLSYMBOL = H15
public const int LOCALE_SMONDECIMALSEP = H16
public const int LOCALE_SMONTHOUSANDSEP = H17
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -