Fix build on msbuild

This commit is contained in:
Sam Sun 2019-11-09 00:18:28 -07:00
parent 1cf9e1a1b0
commit 33621dd1e8

View File

@ -126,6 +126,7 @@ HRESULT setupapi_add_phantom_dev(const GUID *iface_class, const wchar_t *path)
class_ = &setupapi_classes[setupapi_nclasses++];
class_->guid = iface_class;
class_->path = path;
hr = S_OK;
end:
LeaveCriticalSection(&setupapi_lock);