Vanara/PInvoke/NewDev/readme.md

25 lines
3.4 KiB
Markdown

## Vanara.PInvoke.NewDev
PInvoke API (methods, structures and constants) imported from Windows NewDev.dll.
- Includes methods from newdev.dll
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.NewDev?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.NewDev?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.NewDev)
### Methods - 100% API coverage (8 of 8 functions)
Native Method | Header | Managed Method
--- | --- | ---
[DiInstallDevice](https://www.google.com/search?num=5&q=DiInstallDevice+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiInstallDevice](https://github.com/dahall/Vanara/search?l=C%23&q=DiInstallDevice)
[DiInstallDriver](https://www.google.com/search?num=5&q=DiInstallDriverA+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiInstallDriver](https://github.com/dahall/Vanara/search?l=C%23&q=DiInstallDriver)
[DiRollbackDriver](https://www.google.com/search?num=5&q=DiRollbackDriver+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiRollbackDriver](https://github.com/dahall/Vanara/search?l=C%23&q=DiRollbackDriver)
[DiShowUpdateDevice](https://www.google.com/search?num=5&q=DiShowUpdateDevice+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiShowUpdateDevice](https://github.com/dahall/Vanara/search?l=C%23&q=DiShowUpdateDevice)
[DiShowUpdateDriver](https://www.google.com/search?num=5&q=DiShowUpdateDriver+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiShowUpdateDriver](https://github.com/dahall/Vanara/search?l=C%23&q=DiShowUpdateDriver)
[DiUninstallDevice](https://www.google.com/search?num=5&q=DiUninstallDevice+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiUninstallDevice](https://github.com/dahall/Vanara/search?l=C%23&q=DiUninstallDevice)
[DiUninstallDriver](https://www.google.com/search?num=5&q=DiUninstallDriverA+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DiUninstallDriver](https://github.com/dahall/Vanara/search?l=C%23&q=DiUninstallDriver)
[UpdateDriverForPlugAndPlayDevices](https://www.google.com/search?num=5&q=UpdateDriverForPlugAndPlayDevicesA+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.UpdateDriverForPlugAndPlayDevices](https://github.com/dahall/Vanara/search?l=C%23&q=UpdateDriverForPlugAndPlayDevices)
### Enumerations
Native Enum | Header | Managed Enum
--- | --- | ---
[DIID_FLAG](https://www.google.com/search?num=5&q=DIID_FLAG+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DIID_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=DIID_FLAG)
[DIIRFLAG](https://www.google.com/search?num=5&q=DIIRFLAG+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DIIRFLAG](https://github.com/dahall/Vanara/search?l=C%23&q=DIIRFLAG)
[DIURFLAG](https://www.google.com/search?num=5&q=DIURFLAG+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.DIURFLAG](https://github.com/dahall/Vanara/search?l=C%23&q=DIURFLAG)
[INSTALLFLAG](https://www.google.com/search?num=5&q=INSTALLFLAG+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.INSTALLFLAG](https://github.com/dahall/Vanara/search?l=C%23&q=INSTALLFLAG)
[ROLLBACK_FLAG](https://www.google.com/search?num=5&q=ROLLBACK_FLAG+site%3Alearn.microsoft.com) | newdev.h | [Vanara.PInvoke.NewDev.ROLLBACK_FLAG](https://github.com/dahall/Vanara/search?l=C%23&q=ROLLBACK_FLAG)