setupapi: Use correct parameter in pointer init.
This commit is contained in:
parent
4a31362d53
commit
263cb44d76
|
@ -1986,7 +1986,7 @@ static void SETUPDI_EnumerateInterfaces(HDEVINFO DeviceInfoSet,
|
||||||
static void SETUPDI_EnumerateMatchingDevices(HDEVINFO DeviceInfoSet,
|
static void SETUPDI_EnumerateMatchingDevices(HDEVINFO DeviceInfoSet,
|
||||||
LPCWSTR parent, HKEY key, const GUID *class, DWORD flags)
|
LPCWSTR parent, HKEY key, const GUID *class, DWORD flags)
|
||||||
{
|
{
|
||||||
struct DeviceInfoSet *set = (struct DeviceInfoSet *)set;
|
struct DeviceInfoSet *set = (struct DeviceInfoSet *)DeviceInfoSet;
|
||||||
DWORD i, len;
|
DWORD i, len;
|
||||||
WCHAR subKeyName[MAX_PATH];
|
WCHAR subKeyName[MAX_PATH];
|
||||||
LONG l = ERROR_SUCCESS;
|
LONG l = ERROR_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue