summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-07user-jakobl-CodeQL-Testinguser-jakobl-CodeQL-TestingJakob Lichtenberg (170957)
2023-02-07user-jakobl-CodeQL-TestingJakob Lichtenberg (170957)
2023-02-07Change the locking scheme in DMFT to unlock in setoutputstreamstate (#810)jk
A change in device transform manager brought about a deadlock scenario in DMFT sample. The sample now behaves like we have in the rest of the pipeline i.e. we release the lock and wait for the operations on the input pins to complete. This hang is responsible for AMD hangs.
2023-02-07Enable CodeQL to work thru reasonable workarounds. (#857)JakobL-MSFT
2023-02-07Clean up a few misc things after merge of main into develop (#859)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-02-06Merge pull request #855 from microsoft/develop-2302-mergeAdonais Romero González
Merge 'main' into 'develop'
2023-02-03Merge branch 'main' into develop-2302-mergeAdonais Romero González
2023-02-03Incremental improvements of the sample build system (#849)JakobL-MSFT
2023-02-03Merge branch 'main' into develop-2302-mergeAdonais Romero González
2023-02-03mspassthroughext Driver compatibility violations (#846)kahashimoto-ms
* Add PnpLockdown to the version section of the INF * Add segments to DriverVer * Change DIRID from 12 to 13
2023-02-02Updates to make Sysvad and SimpleAudioSample Windows Drivers Compliant (#845)Julia D'Zmura
Updating sysvad and simpleaudiosample drivers.
2023-01-30Build scripts update (#844)Adonais Romero González
--------- Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
2023-01-25Merge pull request #841 from microsoft/Cymoki-patch-3Cymoki
Create Test.txt
2023-01-25Create Test.txtCymoki
2023-01-18Merge pull request #826 from microsoft/lagonzacodescanning-reconfigLaura
Re Configure Code-Scanning.yml
2023-01-18Update TestMcro sample to target a single architecture and support best ↵alexke-dev
practices (#837) * Update TestMcro sample to target a single architecture. * Update copywia.cmd to use the new path for the TestMcro.inf file. * Restore missing BOM to vcxproj file.
2023-01-15Merge pull request #836 [general/toaster] Update GetDeviceDescriptionWei Mao
2023-01-15[general/toaster] Update GetDeviceDescriptionWei Mao
2023-01-15Merge pull request #834 - Update WDF samples to use DIRID=13 (Driver Store)Wei Mao
## Why is this change being made? [Driver package isolation](https://learn.microsoft.com/en-us/windows-hardware/drivers/develop/driver-isolation) is a requirement for Windows Drivers that makes driver packages more resilient to external changes, easier to update, and more straightforward to install. One of such requirements is to for driver to [run from the driver store](https://learn.microsoft.com/en-us/windows-hardware/drivers/develop/run-from-driver-store), which means to use `DIRID = 13` in INF file, `DestinationDirs` section and `ServiceBinary` directive. ## What changed? Update generic WDF samples to use DIRID = 13. Specifically, it touches the following sample folders: - general, toaster, usb, hid, input, serial, pofx, spb, wmi Note it does not touch areas that are owned by individual driver classes, e.g., network, storage, file system. This change does mean that the sample **won't work on older OS** (prior to Win10 version 1809) where DIRID 13 is not fully supported. To find the original sample, please look at https://github.com/microsoft/Windows-driver-samples/tree/win11-22h2.
2023-01-15Fix: Invalid flag 0x4000, cannot be used with DIRID 13Wei Mao
2023-01-15[DirID-13] usbWei Mao
Change INF files with the following: - Use Driver Store DirID = 13 which are available starting Windows 10 1809 - Remove WDF coinstaller - Add PnpLockdown = 1
2023-01-15[DirID-13] hid, input, pofx, serial, spb, wmiWei Mao
Change INF files with the following: - Use Driver Store DirID = 13 which are available starting Windows 10 1809 - Remove WDF coinstaller - Add PnpLockdown = 1
2023-01-15[DirID-13] toaster sample driversWei Mao
Change INF files with the following: - Use Driver Store DirID = 13 which are available starting Windows 10 1809 - Remove WDF coinstaller - Add PnpLockdown = 1
2023-01-15[DirID-13] echo, pcidrv, plx9x5x, vhidmini, serial, virtualserial2, usbsamp, ↵Wei Mao
usb/ucm Change INF files with the following: - Use Driver Store DirID = 13 which are available starting Windows 10 1809 - Remove WDF coinstaller - Add PnpLockdown = 1
2023-01-13Update BthEchoSampleCli and BthEchoSampleSrv to be single architectur… (#825)dnl-q
* Update BthEchoSampleCli and BthEchoSampleSrv to be single architecture targeted and the specific build architecture is stamped at the time it is built. * Remove long deprecated WDF coinstaller references. Rename CopyFiles section from Drivers_Dir to DriverStore_Dir. Revert TargetOSVersion for the Models sections to NT$ARCH$...1, the same as before without my changes. * Address more PR feedbacks and update README.md. Co-authored-by: Hongwei Qi <[email protected]>
2023-01-13[UMDF v1] Remove General, USB, serialWei Mao
2023-01-13[UMDF v1] Remove usb/wdf_osrfx2_lab/umdfWei Mao
2023-01-13[UMDF v1] Remove usb/umdf_filter_kmdf, usb/umdf_filter_umdf, usb/umdf_fx2Wei Mao
2023-01-13[UMDF v1] Remove serial/VirtualSerial/ComPort/virtualserial, fakemodemWei Mao
2023-01-13[UMDF v1] Remove general/umdfSkeletonWei Mao
2023-01-13[UMDF v1] Remove general/toaster/toastDrv/umdf/func, ToastmonWei Mao
2023-01-13[UMDF v1] Remove general/echo/umdf, umdfSocketEchoWei Mao
2023-01-12Remove invalid INF DeviceInstall32 (#811)Gerrit Swaneveld
* Remove invalid INF DeviceInstall32 Removes from the sample an invalid API call. * Update to SimpleMediaSource.inf Fixes to use public installation path
2023-01-12Fix unused warning (#829)Matt Moseley
- removed the [ToastMonBuggy] section to eliminate emitted warning
2023-01-10Remove capture of changed filesLaura
Remove capture of changed files as they are unneeded in this workflow. We will build all files to create a baseline.
2023-01-09Re Configure Code-Scanning.ymlLaura
In accordance with this issue https://github.com/github/codeql-cli-binaries/issues/149 I have reconfigured to run code scanning on all PR's (to include text only changes) and adjusted the build command to build all solutions, not just the changed ones.
2023-01-09Update to DV-FailDriver-WDM (#823)Matt Moseley
* Removed unsupported install section - This change removes the unsupported install method from the .inf file. * Updated readme with DevGen example - Add section to readme to encourage the usage of DevGen. - Added example of how to use DevGen when installing sample driver. * Update readme - updated README.md based on the given suggestions * More updates to readme - added link to SwDevice - fixed missing back tick
2023-01-06Update ProdScan and WiaDriver samples (#824)alexke-dev
Update ProdScan and WiaDriver samples to target a single architecture.
2023-01-03Remove IA64 support from more samples (#816)Jason
Co-authored-by: Jason Knichel <[email protected]>
2022-12-29Merge pull request #820 from microsoft/lauragonzalezzz/remove-redundant-workflowLaura
Deletes CodeQL-Analysis Workflow
2022-12-29Merge pull request #818 from ↵Laura
microsoft/lauragonzalezzz/configure-code-scanning-alerts Create Code-Scanning.yml
2022-12-29Deletes CodeQL-Analysis WorkflowLaura
GitHub did not register this workflow as the one associated with the Code Scanning security feature. Therefore I have a separate PR https://github.com/microsoft/Windows-driver-samples/pull/818 which established the workflow through the security menu. This workflow is identical to that one except for a syntax fix in the designation of which types of file updates do not trigger the workflow.
2022-12-27Updates Code Scanning ExclusionLaura
Excludes all files within the .github directory from triggering the Code Scanning workflow.
2022-12-27Create Code-Scanning.ymlLaura
This file is identical to the existing workflow except that it has been created via the GitHub Security Code Scanning menu, which registers the workflow with the Code Scanning triggers unlike the existing workflow. If this successfully meets the Security requirements, the next commit will remove the duplicate workflow.
2022-12-15Remove IA64 support from Print samples (#815)Jason
Co-authored-by: Jason Knichel <[email protected]>
2022-12-12Clean up some infverif warnings and errors in print samples (#814)Jason
Co-authored-by: Jason Knichel <[email protected]>
2022-12-08Creates CodeQL-Analysis Workflow (#813)Laura
Creates CodeQL-Analysis workflow to run the latest CodeQL CLI and cpp rules against driver solutions which have changed. This is a CI mechanism to alert if there are CodeQL violations in projects which have been changed since the last commit.
2022-12-02Netvmin680 fix (#805)kahashimoto-ms
* add NDIS_SUPPORT_NDIS680 in #if directive in adapter.c * add NDIS_SUPPORT_NDIS680 in #if directive in miniport.c * fix driver isolation violation 1323 for netvmini680.inf * fix driver isolation violation 1322 for netvmini680.inf * set NIC_PHYSICAL_MEDIUM to NdisPhysicalMedium802_3 in hardware.h * change local type from ULONG to UINT8 to match return type * Remove AddReg TextModeFlags in inf for netvmini680
2022-12-02Update HelperFunctions_ThreadsAndEvents.cpp (#798)janasebaali
correct logging statement
2022-12-02Fix driver isolation violations 1322 and 1323 for netvmini (60, 620, 630) ↵kahashimoto-ms
drivers. (#803) * fix driver isolation violations 1322 1323 for netvmini60.inf * fix driver isolation violations 1322 1323 for netvmini620.inf * fix driver isolation violations 1322 1323 for netvmini630.inf * change local type from ULONG to UINT8 to match return type * Remove AddReg TextModeFlags in inf for netvmini60 * Remove AddReg TextModeFlags in inf for netvmini620 * Remove AddReg TextModeFlags in inf for netvmini630