Commit Graph
10 Commits
Author SHA1 Message Date
Kostiantyn Kostiuk 5f8e50aec7 NetKVM: Remove code for legacy OSes
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
2022-01-11 09:47:09 +02:00
Yuri Benditovich 86fb9d9c74 build: for EWDK remove MFC from ProtocolService project
Signed-off-by: Yuri Benditovich <[email protected]>
2021-08-30 17:10:24 +03:00
Yuri Benditovich 289f2e4ae6 netkvm: handle protocol uninstallation
The netkvmp service on protocol uninstall is stopped
automatically (by INF statement). Upon stop the service
will run its own binary with command-line ' -x' that
directs the executable to run post-uninstall action:
1. Send WMI set 'NetKvm_Standby.value=0' to force all
   the instances that support standby feature to indicate
   link off (return to their initial behavior)
2. Send WMI query for 'NetKvm_Standby' and parse the response.
   Note friendly names of all the instances that support
   standby feature. Access these instances via SetupAPI and
   restart them.

Signed-off-by: Yuri Benditovich <[email protected]>
2021-04-01 15:11:46 +03:00
Yuri Benditovich b3a20f90d1 netkvm: make code for getting module path reusable
Signed-off-by: Yuri Benditovich <[email protected]>
2021-04-01 15:11:46 +03:00
Yuri Benditovich 237430ba4a netkvm: add new files to protocol project
Introduced classes for running processes and pnp operations.

Signed-off-by: Yuri Benditovich <[email protected]>
2021-04-01 15:11:46 +03:00
Yuri Benditovich 3651b2a0f1 netkvm: fix netkvmp.exe linking
The executable was built incorrectly with dependency on
the Visual Studio CRT DLL. This did not create any problem
as this executable was dummy and the service was never started.
Now we prepare it to run, so fixing the dependency.

Signed-off-by: Yuri Benditovich <[email protected]>
2021-04-01 15:11:46 +03:00
Yuri Benditovich f1723b6e40 netkvm: protocol service: add copyright text
Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-09 15:23:33 +03:00
Yuri Benditovich 5c96516c9d netkvm: protocol service: add LICENSE file
Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-09 15:23:33 +03:00
Yuri Benditovich efc05e3743 build: add build of new NETKVM subprojects
Notification object and dummy protocol service.

Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-07 17:53:39 +03:00
Yuri Benditovich aa303f9a86 netkvm: introduce dummy service project
This service binary will be used as an executable for the
installation of the protocol.

Signed-off-by: Yuri Benditovich <[email protected]>
2020-07-07 17:53:39 +03:00