Skip to content

Commit

Permalink
ZoomIt initial code dump
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecbernardo committed Nov 8, 2024
1 parent 2fac6ed commit c3a0264
Show file tree
Hide file tree
Showing 41 changed files with 12,938 additions and 0 deletions.
75 changes: 75 additions & 0 deletions src/common/sysinternals/Eula/Eula.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
Sysinternals Software License Terms
These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you. Please read them. They apply to the software you are downloading from technet.microsoft.com/sysinternals, which includes the media on which you received it, if any. The terms also apply to any Sysinternals
* updates,
* supplements,
* Internet-based services,
* and support services
for this software, unless other terms accompany those items. If so, those terms apply.
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
If you comply with these license terms, you have the rights below.

Installation and User Rights

You may install and use any number of copies of the software on your devices.

Scope of License

The software is licensed, not sold. This agreement only gives you some rights to use the software. Sysinternals reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
* work around any technical limitations in the software;
* reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
* make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
* publish the software for others to copy;
* rent, lease or lend the software;
* transfer the software or this agreement to any third party; or
* use the software for commercial software hosting services.

Sensitive Information

Please be aware that, similar to other debug tools that capture “process state” information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.

Documentation

Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.

Export Restrictions

The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting .

Support Services

Because this software is "as is," we may not provide support services for it.

Entire Agreement

This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.

Applicable Law

United States . If you acquired the software in the United States , Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
Outside the United States . If you acquired the software in any other country, the laws of that country apply.

Legal Effect

This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.

Disclaimer of Warranty

The software is licensed "as-is." You bear the risk of using it. Sysinternals gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, sysinternals excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.

Limitation on and Exclusion of Remedies and Damages

You can recover from sysinternals and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.
This limitation applies to
* anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
* claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.

It also applies even if Sysinternals knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
Please note: As this software is distributed in Quebec , Canada , some of the clauses in this agreement are provided below in French.
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Sysinternals n'accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection dues consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d'adéquation à un usage particulier et d'absence de contrefaçon sont exclues.
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Sysinternals et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
Cette limitation concerne :
tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d'une autre faute dans la limite autorisée par la loi en vigueur.
Elle s'applique également, même si Sysinternals connaissait ou devrait connaître l'éventualité d'un tel dommage. Si votre pays n'autorise pas l'exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l'exclusion ci-dessus ne s'appliquera pas à votre égard.
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d'autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
702 changes: 702 additions & 0 deletions src/common/sysinternals/Eula/eula.c

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions src/common/sysinternals/Eula/eula.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#ifdef __cplusplus
extern "C" {
#endif


BOOL ShowEulaW( const TCHAR * ToolName, int *argc, PWCHAR argv[] );
BOOL ShowEula( const TCHAR * ToolName, int *argc, TCHAR *argv[] );
DWORD ShowEulaConsole();
void ShowEulaConsoleNoPrompt();
BOOL IsIoTEdition();
BOOL IsRemoteOnlyEdition();
BOOL IsRunningRemotely();
BOOL IsEulaAccepted(const TCHAR * ToolName, int *argc, PTCHAR argv[]);

#ifdef __cplusplus
}
#endif
76 changes: 76 additions & 0 deletions src/common/sysinternals/Eula/eula.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\fnil\fcharset0 Calibri;}}
{\colortbl ;\red0\green0\blue255;\red0\green0\blue0;}
{\*\generator Riched20 10.0.10240}\viewkind4\uc1
\pard\brdrb\brdrs\brdrw10\brsp20 \sb120\sa120\b\f0\fs24 SYSINTERNALS SOFTWARE LICENSE TERMS\fs28\par
\pard\sb120\sa120\b0\fs19 These license terms are an agreement between Sysinternals (a wholly owned subsidiary of Microsoft Corporation) and you. Please read them. They apply to the software you are downloading from Sysinternals.com, which includes the media on which you received it, if any. The terms also apply to any Sysinternals\par

\pard\fi-363\li720\sb120\sa120\tx720\'b7\tab updates,\par

\pard\fi-363\li720\sb120\sa120\'b7\tab supplements,\par
\'b7\tab Internet-based services, and \par
\'b7\tab support services\par

\pard\sb120\sa120 for this software, unless other terms accompany those items. If so, those terms apply.\par
\b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
\pard\brdrt\brdrs\brdrw10\brsp20 \sb120\sa120 If you comply with these license terms, you have the rights below.\par
\pard\fi-357\li357\sb120\sa120\tx360\fs20 1.\tab\fs19 INSTALLATION AND USE RIGHTS. \b0 You may install and use any number of copies of the software on your devices.\b\par
\caps\fs20 2.\tab\fs19 Scope of License\caps0 .\b0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Sysinternals reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\b\par
\pard\fi-363\li720\sb120\sa120\tx720\b0\'b7\tab work around any technical limitations in the binary versions of the software;\par

\pard\fi-363\li720\sb120\sa120\'b7\tab reverse engineer, decompile or disassemble the binary versions of the software, except and only to the extent that applicable law expressly permits, despite this limitation;\par
\'b7\tab make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\par
\'b7\tab publish the software for others to copy;\par
\'b7\tab rent, lease or lend the software;\par
\'b7\tab transfer the software or this agreement to any third party; or\par
\'b7\tab use the software for commercial software hosting services.\par

\pard\fi-357\li357\sb120\sa120\tx360\b\fs20 3.\tab SENSITIVE INFORMATION. \b0 Please be aware that, similar to other debug tools that capture \ldblquote process state\rdblquote information, files saved by Sysinternals tools may include personally identifiable or other sensitive information (such as usernames, passwords, paths to files accessed, and paths to registry accessed). By using this software, you acknowledge that you are aware of this and take sole responsibility for any personally identifiable or other sensitive information provided to Microsoft or any other party through your use of the software.\b\par
5. \tab\fs19 DOCUMENTATION.\b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\par
\caps\fs20 6.\tab\fs19 Export Restrictions\caps0 .\b0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\cf1\ul{\field{\*\fldinst{HYPERLINK www.microsoft.com/exporting }}{\fldrslt{www.microsoft.com/exporting}}}}\cf1\ul\f0\fs19 <{{\field{\*\fldinst{HYPERLINK "http://www.microsoft.com/exporting"}}{\fldrslt{http://www.microsoft.com/exporting}}}}\f0\fs19 >\cf0\ulnone .\b\par
\caps\fs20 7.\tab\fs19 SUPPORT SERVICES.\caps0 \b0 Because this software is "as is," we may not provide support services for it.\b\par
\caps\fs20 8.\tab\fs19 Entire Agreement.\b0\caps0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par

\pard\keepn\fi-360\li360\sb120\sa120\tx360\cf2\b\caps\fs20 9.\tab\fs19 Applicable Law\caps0 .\par
\pard\fi-363\li720\sb120\sa120\tx720\cf0\fs20 a.\tab\fs19 United States.\b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\par
\pard\fi-363\li720\sb120\sa120\fs20 b.\tab\fs19 Outside the United States.\b0 If you acquired the software in any other country, the laws of that country apply.\b\par
\pard\fi-357\li357\sb120\sa120\tx360\caps\fs20 10.\tab\fs19 Legal Effect.\b0\caps0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\par
\fs20 11.\tab\fs19 Disclaimer of Warranty.\caps0 \caps The software is licensed "as-is." You bear the risk of using it. SYSINTERNALS gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, SYSINTERNALS excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
\pard\fi-360\li360\sb120\sa120\tx360\fs20 12.\tab\fs19 Limitation on and Exclusion of Remedies and Damages. You can recover from SYSINTERNALS and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
\pard\li357\sb120\sa120\b0\caps0 This limitation applies to\par

\pard\fi-363\li720\sb120\sa120\tx720\'b7\tab anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par

\pard\fi-363\li720\sb120\sa120\'b7\tab claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par

\pard\li360\sb120\sa120 It also applies even if Sysinternals knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\par

\pard\b Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.\par
\pard\sb240\lang1036 Remarque : Ce logiciel \'e9tant distribu\'e9 au Qu\'e9bec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en fran\'e7ais.\par
\pard\sb120\sa120 EXON\'c9RATION DE GARANTIE.\b0 Le logiciel vis\'e9 par une licence est offert \'ab tel quel \'bb. Toute utilisation de ce logiciel est \'e0 votre seule risque et p\'e9ril. Sysinternals n'accorde aucune autre garantie expresse. Vous pouvez b\'e9n\'e9ficier de droits additionnels en vertu du droit local sur la protection dues consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualit\'e9 marchande, d'ad\'e9quation \'e0 un usage particulier et d'absence de contrefa\'e7on sont exclues.\par

\pard\keepn\sb120\sa120\b LIMITATION DES DOMMAGES-INT\'c9R\'caTS ET EXCLUSION DE RESPONSABILIT\'c9 POUR LES DOMMAGES.\b0 Vous pouvez obtenir de Sysinternals et de ses fournisseurs une indemnisation en cas de dommages directs uniquement \'e0 hauteur de 5,00 $ US. Vous ne pouvez pr\'e9tendre \'e0 aucune indemnisation pour les autres dommages, y compris les dommages sp\'e9ciaux, indirects ou accessoires et pertes de b\'e9n\'e9fices.\par
\lang1033 Cette limitation concerne :\par

\pard\keepn\fi-360\li720\sb120\sa120\tx720\lang1036\'b7\tab tout ce qui est reli\'e9 au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et\par

\pard\fi-363\li720\sb120\sa120\tx720\'b7\tab les r\'e9clamations au titre de violation de contrat ou de garantie, ou au titre de responsabilit\'e9 stricte, de n\'e9gligence ou d'une autre faute dans la limite autoris\'e9e par la loi en vigueur.\par

\pard\sb120\sa120 Elle s'applique \'e9galement, m\'eame si Sysinternals connaissait ou devrait conna\'eetre l'\'e9ventualit\'e9 d'un tel dommage. Si votre pays n'autorise pas l'exclusion ou la limitation de responsabilit\'e9 pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l'exclusion ci-dessus ne s'appliquera pas \'e0 votre \'e9gard.\par
\b EFFET JURIDIQUE.\b0 Le pr\'e9sent contrat d\'e9crit certains droits juridiques. Vous pourriez avoir d'autres droits pr\'e9vus par les lois de votre pays. Le pr\'e9sent contrat ne modifie pas les droits que vous conf\'e8rent les lois de votre pays si celles-ci ne le permettent pas.\b\par
\pard\b0\fs20\lang1033\par

\pard\sa200\sl276\slmult1\f1\fs22\lang9\par
}

24 changes: 24 additions & 0 deletions src/common/sysinternals/WindowsVersions.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include <Windows.h>

#include "WindowsVersions.h"

// Declared in wdm.h
typedef NTSYSAPI NTSTATUS (NTAPI *RtlGetVersionType)( PRTL_OSVERSIONINFOW );

DWORD GetWindowsBuild( DWORD* revision )
{
if( revision ) {

DWORD size = sizeof( *revision );
if( RegGetValueW( HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", L"UBR", RRF_RT_REG_DWORD, NULL, revision, &size ) != ERROR_SUCCESS ) {

*revision = 0;
}
}

RtlGetVersionType pRtlGetVersion = reinterpret_cast<RtlGetVersionType>(GetProcAddress( GetModuleHandleW( L"ntdll.dll" ), "RtlGetVersion" ));

RTL_OSVERSIONINFOW version;
pRtlGetVersion( &version );
return version.dwBuildNumber;
}
32 changes: 32 additions & 0 deletions src/common/sysinternals/WindowsVersions.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//----------------------------------------------------------------------
//
// WindowsVersions.h
//
// Provides helpers for Windows builds and versions.
//
//----------------------------------------------------------------------

#pragma once

#define BUILD_WINDOWS_SERVER_2008 6003
#define BUILD_WINDOWS_SERVER_2008_R2 7601
#define BUILD_WINDOWS_SERVER_2012 9200
#define BUILD_WINDOWS_8_1 9600
#define BUILD_WINDOWS_SERVER_2012_R2 9600
#define BUILD_WINDOWS_10_1507 10240
#define BUILD_WINDOWS_10_1607 14393
#define BUILD_WINDOWS_SERVER_2016 14393
#define BUILD_WINDOWS_10_1809 17763
#define BUILD_WINDOWS_SERVER_2019 17763
#define BUILD_WINDOWS_10_1903 18362
#define BUILD_WINDOWS_10_1909 18363
#define BUILD_WINDOWS_10_2004 19041
#define BUILD_WINDOWS_10_20H2 19042
#define BUILD_WINDOWS_SERVER_20H2 19042
#define BUILD_WINDOWS_10_21H1 19043
#define BUILD_WINDOWS_10_21H2 19044
#define BUILD_WINDOWS_SERVER_2022 20348
#define BUILD_WINDOWS_11_21H2 22000
#define BUILD_WINDOWS_11_22H2 22621

DWORD GetWindowsBuild( DWORD* revision );
Loading

1 comment on commit c3a0264

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log or 📝 job summary for details.

Unrecognized words (395)
accepteula
accessoires
n'accorde
Adanced
additionnels
ADDSTRING
ADVANCEDBREAK
afxres
ALIGNRIGHT
ALLCHILDREN
amihaiuc
Animnate
ansicpg
s'appliquera
ARROWKEYS
aucune
AUTOBUDDY
AUTOCHECKBOX
AUTOHSCROLL
AUTORADIOBUTTON
autoris
n'autorise
AUTOTICKS
AUTOVSCROLL
autres
BACKGROUNDBROWSE
BACKROUNDFILE
beggining
binres
BITSPERPEL
BLACKFRAME
BLENDFUNCTION
brdrb
brdrs
brdrt
brdrw
BREAKHOTKEY
brsp
CALCRECT
Calibri
CAPTUREAUDIO
capturevideosample
cdit
celles
certaines
certains
Cette
CGraphics
CHECKBACKGROUNDFILE
CHECKBACKGROUNDSTRETCH
CHECKSOUNDFILE
chf
CHOOSEFONT
chrg
ciaux
clamations
CLEARCOLOR
COLORPICK
colorref
colortbl
compris
concerne
conio
conna
connaissait
consommateurs
contrat
contrefa
COPYCROP
COPYPEN
cplusplus
CREATEPROCESS
CRegistry
CTEXT
CTLCOLORSTATIC
currentversion
CURSORARMLENGTH
dans
deff
deflang
DEMOTYPE
DEMOTYPEBROWSE
DEMOTYPEFILE
DEMOTYPEHOTKEY
DEMOTYPERESET
DEMOTYPESLIDER
DEMOTYPESPEEDSLIDER
DEMOTYPESTATIC
DEMOTYPETEXT
DEMOTYPEUSERDRIVEN
DESIGNINFO
DESKTOPBACKGROUND
DEVMODE
devrait
dgxi
DIALOGEX
DISABLENOSCROLL
dispatcherqueue
DISPLAYFLAGS
DISPLAYFREQUENCY
DISPLAYORIENTATION
distribu
dlg
DLGITEMTEMPLATE
DLGTEMPLATE
DOCINFO
dommage
DRAWHOTKEY
drawingc
DROPFILES
DSurface
DTexture
eame
EDITSTREAM
EDITTEXT
edtion
eetre
elles
ENABLETAB
ENABLETEMPLATE
ETDT
eula
exclues
EXITMODE
EXLIMITTEXT
expresse
fcharset
ficier
FILEOPENDIALOGOPTIONS
FILTERMODE
FIXEDSYS
FIXFIX
fldinst
fldrslt
fnil
fonttbl
FONTTYPE
FORCEFILESYSTEM
FORMATDLGORD
FORMATRANGE
fournies
fournisseurs
fprq
fran
fswiss
galement
garantie
garanties
GDIPVER
GETCURSEL
GETHOTKEY
GETNONCLIENTMETRICS
GETSOURCERECT
GETSTICKYKEYS
GETZOOMLEVEL
gligence
hbrush
hdr
HIDEREADONLY
HIDETRAYICON
HIGHLIGHTANDBLUR
hihglighting
HKCOMB
HKM
hlighting
HORZRES
HOTKEYF
HWNDPARENT
idc
IDCANCEL
IDOK
implicites
inacessible
INCONTACT
indemnisation
indendation
INITDIALOG
INITTOLOGFONTSTRUCT
iotuap
isblur
juridique
keepn
Keyname
ldblquote
Ldr
LEFTTEXT
limite
LIMITSIZE
LIMITTEXT
LIVEHOTKEY
LIVEPENWIDTH
LIVEZOOM
LIVEZOOMDRAW
logfont
logiciel
LOGPIXELSY
loi
LONGNAMES
LPCFHOOKPROC
lpv
lstrcpyn
LTEXT
MAGNIFYCURSOR
MAGTRANSFORM
MAKELONG
MAKELPARAM
MAKEWPARAM
marchande
MINMAXINFO
MODALFRAME
modifie
monleft
montop
MOVEREGIONS
msctls
Msimg
msvsmon
nfor
NMAKE
NOCLIP
NOFAILCREATE
NOINVERT
NONANTIALIASED
NONCLIENTMETRICSW
NOPAGENUMS
NOPREFIX
NOSELECTION
NOTHOUSANDS
NOTICKS
NOTXORPEN
nouicompat
ntout
NTSYSAPI
NULLCURSOR
obtenir
occurence
OEMCONVERT
offert
OSVERSIONINFO
OSVERSIONINFOW
OVERWRITEPROMPT
OWNERDRAWFIXED
particulier
PCTSTR
PDEVMODE
PDLL
PDRAW
PELSHEIGHT
PELSWIDTH
PENCONTROL
PENWIDTH
permettent
permises
pertes
peut
PISWOW
PMAGTRANSFORM
PNMLINK
POINTERID
POINTERUPDATE
POPTIONS
pourriez
pouvez
pquns
PRINTDLG
PRINTSETUP
procmon
PRTL
PTCHAR
PTYPED
qualit
quation
quel
quelque
RCZOOMIT
rdblquote
RDW
RECORDCROP
RECORDFRAMERATE
RECORDHOTKEY
Recordingsession
RECORDSCALING
RECORDWINDOW
reli
reseting
RESIZEPEN
responsabilit
RESTORECURSOR
RETURNDC
Riched
richedit
ril
Rsrc
Russinovich
SAVECROP
SAVECURSOR
SCREENFONTS
SECONDARYDISPLAY
SELCHANGE
SETBUDDYINT
SETCURSEL
SETHOTKEY
SETLOWPOWERACTIVE
SETPOWEROFFACTIVE
SETRANGE
SETRULES
SETSCREENSAVEACTIVE
SETSTICKYKEYS
SETZOOM
seule
SHACF
SHOWEXPIRED
SHOWMAGNIFIEDCURSOR
SHOWTRAYICON
slmult
SNIPHOTKEY
SNIPSAVE
soit
sont
SOUNDBROWSE
SOUNDFILE
SPINTIMER
stdcpp
STEPIN
STEPOUT
STEPTIME
STICKYKEYS
STOPRECORDING
stprintf
STREAMIN
stricte
stscanf
SUBMODULEUPDATE
sxs
SYSMON
SYSTEMMODAL
tant
TCIF
TCITEM
TCN
tcscat
tcschr
tcscmp
tcsdup
tcsicmp
tcslen
tcsrchr
technet
TEdition
TEXTFONT
textptr
tfopen
TIMERPOS
TITLEBARINFO
tnid
Toute
trackbar
TRAYACTIVATE
TRYICON
tstoi
TYPINGOFF
UACUI
UBR
ulnone
une
unhiding
uniquement
unzoom
UPDATENOW
UPDATEREGISTRY
updown
utilisation
Valuename
ventualit
VERTRES
viewkind
vigueur
VIRTKEY
votre
vous
vstprintf
vus
WANTRETURN
wdm
WINDOWINFO
xit
yle
Zoome
Zoomin
zoomit
ZOOMITX
zoomlevel
ZOOMSLIDER
ZOOMSPIN
ZOOMSPINTIMER
Previously acknowledged words that are now absent applayout appsfolder Dlg LOGFONT systemsettings SYSTEMWOW USEPOSITION USESIZE 🫥
Some files were automatically ignored 🙈

These sample patterns would exclude them:

[^/]\.cur$

You should consider adding them to:

.github/actions/spell-check/excludes.txt

File matching is via Perl regular expressions.

To check these files, more of their words need to be in the dictionary than not. You can use patterns.txt to exclude portions, add items to the dictionary (e.g. by adding them to allow.txt), or fix typos.

To accept these unrecognized words as correct and remove the previously acknowledged and now absent words and update file exclusions, you could run the following commands

... in a clone of the [email protected]:microsoft/PowerToys.git repository
on the dev/jaime/original-zoomit-codedump branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.22/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/11950544603/attempts/1'
Available 📚 dictionaries could cover words (expected and unrecognized) not in the 📘 dictionary

This includes both expected items (1896) from .github/actions/spell-check/expect.txt and unrecognized words (395)

Dictionary Entries Covers Uniquely
cspell:r/src/r.txt 543 1 1

Consider adding them (in .github/workflows/spelling2.yml) for uses: check-spelling/[email protected] in its with:

      with:
        extra_dictionaries:
          cspell:r/src/r.txt

To stop checking additional dictionaries, add (in .github/workflows/spelling2.yml) for uses: check-spelling/[email protected] in its with:

check_extra_dictionaries: ''
Pattern suggestions ✂️ (1)

You could add these patterns to .github/actions/spell-check/patterns.txt:

# Automatically suggested patterns
# hit-count: 18 file-count: 2
# latex (check-spelling >= 0.0.22)
\\\w{2,}\{

Errors (5)

See the 📜action log or 📝 job summary for details.

❌ Errors Count
ℹ️ binary-file 2
ℹ️ candidate-pattern 2
❌ check-file-path 8
❌ forbidden-pattern 1
ℹ️ non-alpha-in-dictionary 1

See ❌ Event descriptions for more information.

If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Please sign in to comment.