mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
fix spelling
This commit is contained in:
2
.github/actions/spell-check/expect.txt
vendored
2
.github/actions/spell-check/expect.txt
vendored
@@ -1589,7 +1589,7 @@ steamapps
|
||||
STGC
|
||||
STGM
|
||||
STGMEDIUM
|
||||
sTGM_READ
|
||||
STGMREAD
|
||||
STICKYKEYS
|
||||
sticpl
|
||||
storelogo
|
||||
|
||||
@@ -63,12 +63,12 @@ public partial class UWP
|
||||
InitPackageVersion(namespaces);
|
||||
|
||||
const uint noAttribute = 0x80;
|
||||
const uint sTGM_READ = 0x00000000;
|
||||
const uint STGMREAD = 0x00000000;
|
||||
IStream* stream = null;
|
||||
|
||||
try
|
||||
{
|
||||
PInvoke.SHCreateStreamOnFileEx(path, sTGM_READ, noAttribute, false, null, &stream).ThrowOnFailure();
|
||||
PInvoke.SHCreateStreamOnFileEx(path, STGMREAD, noAttribute, false, null, &stream).ThrowOnFailure();
|
||||
Apps = AppxPackageHelper.GetAppsFromManifest(stream).Select(appInManifest => new UWPApplication((IAppxManifestApplication*)appInManifest, this)).Where(a =>
|
||||
{
|
||||
var valid =
|
||||
|
||||
@@ -33,7 +33,7 @@ public class ShellLinkHelper : IShellLinkHelper
|
||||
{
|
||||
PInvoke.CoCreateInstance(typeof(ShellLink).GUID, null, CLSCTX.CLSCTX_INPROC_SERVER, out link).ThrowOnFailure();
|
||||
|
||||
const int STGM_READ = 0;
|
||||
const int STGMREAD = 0;
|
||||
|
||||
IPersistFile* persistFile = null;
|
||||
Guid iid = typeof(IPersistFile).GUID;
|
||||
@@ -42,7 +42,7 @@ public class ShellLinkHelper : IShellLinkHelper
|
||||
{
|
||||
try
|
||||
{
|
||||
persistFile->Load(path, STGM_READ);
|
||||
persistFile->Load(path, STGMREAD);
|
||||
}
|
||||
catch (System.IO.FileNotFoundException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user