Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Adonais Romero Gonzalez d5569c08aa Standarize INF files enconding to UTF-16 (LE with BOM); renormalize files 2024-07-01 17:33:16 -07:00
JakobL-MSFT 263b19b434
RI develop to main (#1189)
* Memory leakage in message

"sizeof(SCANNER_MESSAGE) * threadCount * requestCount" bytes long memory is allocated but only "sizeof(SCANNER_MESSAGE) * threadCount" bytes long of it is freed.

* Handles malloc function fail case

* Refactors comment line

* Solves the miscalculation of the message index

* simbatt: Fix broken registry read-back

The GetSimBattStateFromRegistry function is currently using default settings if GetSimBattStateFromRegistry succeeds, whereas settings from registry are only applied if GetSimBattStateFromRegistry fails. This does not make sense to me.

Therefore proposing to remove the `!` negation from `if (!NT_SUCCESS(Status)) {` on the line after `Status = GetSimBattStateFromRegistry(Device, RegState);` so that default settings are loaded when registry read-back fails.

* Issue of freeing memory without waiting completion of threads accessing it is fixed

* Fixes information leakage warning

Fixes the issue of possible information leakage from uninitialized padding bytes

* Avoids possible multiplication overflow warning

* Avoids possible multiplication overflow warning

* CI Pipelines build with WDK Nuget Packages (#1179)

Integrate nuget into the workflow pipelines

* FI from main to develop (#1188)

Fix text and minor issues in Winget configuration files

Co-authored-by: Adonais Romero Gonzalez <adonais.neoadonis@gmail.com>

* Improve version info, vsix installation, and update building locally readme

* Fix printing vsix version

* Refactored vsix install and cleaned up build sampleset

---------

Co-authored-by: İsa Yurdagül <38290414+isayrdgl@users.noreply.github.com>
Co-authored-by: Fredrik Orderud <fredrik.orderud@ge.com>
Co-authored-by: Christian Allred <13487734+cgallred@users.noreply.github.com>
Co-authored-by: tristanb-ntdev <60945150+tristanb-ntdev@users.noreply.github.com>
Co-authored-by: Matt <138825652+middlemose@users.noreply.github.com>
Co-authored-by: Adonais Romero Gonzalez <adonais.neoadonis@gmail.com>
2024-06-28 09:56:29 -07:00
Adonais Romero González 3fcc0f2bee
Remove x86 and ARM configurations for sample projects. (#1126)
* Removed Win32 and Arm from the project configurations.
* Set default platform to x64.
2024-02-26 09:47:25 -08:00
Adonais Romero González cff1465ff1
Add ARM64 as target platform on multiple samples (#1104)
* Add ARM64 as target platform on multiple samples

* Remove ARM64 from WFPSampler temporarily

---------

Co-authored-by: Jakob Lichtenberg (170957) <jakobl@microsoft.com>
2024-02-19 14:26:14 -08:00
Christian Allred 3d32dffd7a
Merge pull request #932 from hsebs/patch-2
Fix error logging
2024-01-25 12:12:03 -08:00
zlockard 650bc18ac3
Remove .exe from the INF file (#1040)
Co-authored-by: Zac Lockard <zlockard@microsoft.com>
2023-10-09 11:14:29 -07:00
Zac Lockard 7d62dd8d5b Remove unused variable 2023-10-02 11:50:25 -07:00
Zac Lockard d5e0277eb9 Switch to final registry key loading paradigm 2023-09-29 18:25:03 -07:00
Zac Lockard c3e1a7f2d2 Clean up paradigm 2023-09-28 15:31:56 -07:00
Zac Lockard f6b43cc8dc Prototype new paradigm 2023-09-27 13:32:13 -07:00
Zac Lockard 0ea260da22 Update to correct build number 2023-09-26 18:09:23 -07:00
Zac Lockard 391f406ee6 Remove user-mode app from driver package to fix build issues 2023-09-26 15:27:11 -07:00
zlockard b45ffd69a7 Update file system filter samples to use isolated state locations 2023-07-31 17:28:46 -07:00
Jason 03dbb61686
Update some filesys projects' DriverTargetPlatform to be 'Windows Driver' (#962)
Co-authored-by: Jason Knichel <jknichel@ntdev.microsoft.com>
2023-04-06 18:49:00 -07:00
Jason 204beeb16b
Update filesystem filter INF file encoding to be UTF-16 LE (#953)
Co-authored-by: Jason Knichel <jknichel@ntdev.microsoft.com>
2023-04-04 11:53:35 -07:00
Jason 688890a21b
Add PnpLockdown=1 to file system filter samples (#937)
Co-authored-by: Jason Knichel <jknichel@ntdev.microsoft.com>
2023-03-21 14:55:30 -07:00
Heesung Kim 10d84c5ee0
Fix error logging
`dwErrCode` which is always 0.
2023-03-14 23:44:24 +09:00
Rod Widdowson c48bf7dd5c
Fix typo in comment (#557)
The code grabs the FCB SHARED, not Ex
2023-02-08 14:02:54 -08:00
astro 387bec9ffc
Remove un-used macro NULL_FILTER_FILTER_NAME (#641)
Update nullFilter.c
2023-02-08 13:57:25 -08:00
olegkMS b8d3abcd82
Replaced ExAllocatePoolWithTag to more secure ExAllocatePoolZero in samples of filesystems and filesystem filters; made necessary changes to make solutions buildable under recent Visual Studio (#725) 2022-05-18 15:26:38 -07:00
witer33 c13356a7db
typos (#706) 2022-03-24 17:42:09 -07:00
Oleg Kagan (111592) 0027f349a5 update hash algorithm to sha256 2021-07-07 16:51:59 -07:00
darwin-msft 7f70194fa2 update hash algorithm to sha256
update hash algorithm to sha256
2021-06-01 20:32:14 -07:00
pali 16022c5937 Fix changing and reading FAT labels with leading 0xE5 byte in fastfat.sys (#303)
FAT Volume Label is stored in the root directory entry and therefore when
setting new Volume Label with leading 0xE5 byte it first needs to be
converted to 0x05 byte. This step is also required by Microsoft FAT
specification (fatgen103.doc) and also applied for all other files and
directories. But not for volume label yet. First byte 0xE5 in directory
entry means that entry is removed.

Similarly, when reading Volume Label from the root directory, leading byte
0x05 first needs to be converted to 0xE5 and then later processed. This is
reverse operation as described in previous paragraph.

FAT Volume Label is converted from Unicode to bytes according to OEM code
page. OEM code page is configured in Language for non-Unicode applications
settings in Country/Region settings.

When it is set to English (United Kingdom), then OEM code page is 850. And
in 850 is Unicode LATIN CAPITAL LETTER O WITH TILDE represented as 0xE5.

Therefore this pull request fixes setting FAT label "Õ" when regional
settings are set to English (United Kingdom).
2019-09-24 14:12:26 -07:00
Barry Golden f064dfb2d9
Update README.md (#417) 2019-09-16 14:04:28 -07:00
Barry Golden 50321120e7
Update README.md (#407) 2019-08-22 10:09:45 -07:00
Barry Golden 00c331aa99
Update README.md (#404) 2019-08-20 06:48:59 -07:00
Barry Golden 3156a4118e Update README.md 2019-08-17 16:50:38 -07:00
Den Delimarsky ad599508ac Update README 2019-07-15 11:34:58 -07:00
Den Delimarsky de37e30aa0 Update sample metadata 2019-07-04 15:42:04 -07:00
Den (Microsoft) 2123936e0d
Update README.md 2019-07-04 15:17:34 -07:00
Den Delimarsky 41c29cb92f Update README files 2019-03-13 21:54:14 -07:00
Den Delimarsky dbc7785c3a Update manifests 2019-03-13 19:15:06 -07:00
Den Delimarsky 44da757f4f Update READMEs 2019-03-13 15:05:47 -07:00
Den Delimarsky 34dcaceff4 Update READMEs 2019-03-13 14:21:46 -07:00
Den Delimarsky cf2564be41 Update README metadata 2019-03-13 13:55:11 -07:00
Den Delimarsky b376cda09e Testing samples browser integration 2019-03-13 13:01:43 -07:00
Barry Golden ef7ec4ec9f Update README.md for samples portal (#358)
* Update README.md for samples portal

* Update README.md for samples portal

* Removed installwdf

* Update fork (#2)

* Fix typo

ture -> true

* Remove InstallWdf sample

* Fix typo (#340)

ture -> true

* Readme typo fix (#349)

* Update langid
2019-03-12 14:02:43 -07:00
Quinten Johnson 4fd6ea0b2b Fix typos in fastfat comments (#295) 2018-10-30 13:36:02 -07:00
Quinten Johnson 5ef46a2e20 Fix some comment typos (#294) 2018-10-30 13:34:21 -07:00
garanews 4aa98db8a5 fix bizarre misspelling (#305)
bizarre vs bizzare
2018-10-30 13:30:53 -07:00
Barry Golden 5c2d787787 Updated YAML manifest for Microsoft Samples portal. (#287)
* Rename YAML manifests to use .yml extension
* Add preserveParentHierarchy: true to YAML manifest
* Updated YAML manifest for Microsoft Samples portal.
* Fix YAML newline warnings
* Updated vssolution path in YAML manifests
2018-09-24 14:36:17 -07:00
Ged Murphy a270d39f74 [SimRep] Fix printing the correct function name in SimRepPreNetworkQueryOpen (#244) 2018-06-20 12:47:25 -07:00
Julio Garcia 4319a6543a Fix use FILE_LINK_INFORMATION struct for (fileInfoClass == FileLinkInformation) instead of FILE_RENAME_INFORMATION struct. (#225)
There was no error because both structs are same size, but this may change in future versions.
2018-04-09 14:12:20 -07:00
Barry Golden ba25139ebc Added .yaml files for samples portal (#214) 2018-02-28 09:14:29 -08:00
Pierre Schweitzer f73e552f14 filesys/cdfs: only set the Top Level IRP if locking succeed for lazy writer worker. (#209)
This avoids hitting the assert again NULL Top Level IRP later on if locking failed.
2018-02-24 20:44:06 -08:00
Christian Allred 5db40a4daf Shouldn't consider desired access when checking for volume lock (#207) 2018-02-08 14:09:51 -08:00
Wei Mao 7227acf8ba Fix issue #192 2018-01-16 12:10:04 -08:00
Barry Golden c296df11df Update FWLINK. 2017-08-30 15:32:16 -07:00
Barry Golden 0ee60f8f25 VSTS 12737998 2017-08-24 20:04:35 -07:00