MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / CloseDevice

Method CloseDevice

WinSysCore/DriverHelper.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161bool DriverHelper::CloseDevice() {
162 if (_hDevice) {
163 ::CloseHandle(_hDevice);
164 _hDevice = nullptr;
165 }
166 return true;
167}
168
169USHORT DriverHelper::GetVersion() {
170 USHORT version = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected