Lines Matching refs:kvInfo
129 PKEY_VALUE_FULL_INFORMATION kvInfo; in IopGetDriverNames() local
135 status = IopGetRegistryValue(ServiceHandle, L"ObjectName", &kvInfo); in IopGetDriverNames()
139 if (kvInfo->Type != REG_SZ || kvInfo->DataLength == 0) in IopGetDriverNames()
141 ExFreePool(kvInfo); in IopGetDriverNames()
145 driverName.Length = kvInfo->DataLength - sizeof(UNICODE_NULL); in IopGetDriverNames()
146 driverName.MaximumLength = kvInfo->DataLength; in IopGetDriverNames()
150 ExFreePool(kvInfo); in IopGetDriverNames()
155 (PVOID)((ULONG_PTR)kvInfo + kvInfo->DataOffset), in IopGetDriverNames()
158 ExFreePool(kvInfo); in IopGetDriverNames()
203 status = IopGetRegistryValue(ServiceHandle, L"Type", &kvInfo); in IopGetDriverNames()
208 if (kvInfo->Type != REG_DWORD || kvInfo->DataLength != sizeof(ULONG)) in IopGetDriverNames()
210 ExFreePool(kvInfo); in IopGetDriverNames()
216 (PVOID)((ULONG_PTR)kvInfo + kvInfo->DataOffset), in IopGetDriverNames()
218 ExFreePool(kvInfo); in IopGetDriverNames()
936 PKEY_VALUE_FULL_INFORMATION kvInfo; in IopInitializeBuiltinDriver() local
937 Status = IopGetRegistryValue(enumServiceHandle, L"Count", &kvInfo); in IopInitializeBuiltinDriver()
942 if (kvInfo->Type != REG_DWORD || kvInfo->DataLength != sizeof(ULONG)) in IopInitializeBuiltinDriver()
944 ExFreePool(kvInfo); in IopInitializeBuiltinDriver()
949 (PVOID)((ULONG_PTR)kvInfo + kvInfo->DataOffset), in IopInitializeBuiltinDriver()
951 ExFreePool(kvInfo); in IopInitializeBuiltinDriver()
961 Status = IopGetRegistryValue(enumServiceHandle, num, &kvInfo); in IopInitializeBuiltinDriver()
966 if (kvInfo->Type != REG_SZ || kvInfo->DataLength == 0) in IopInitializeBuiltinDriver()
968 ExFreePool(kvInfo); in IopInitializeBuiltinDriver()
972 instancePath.Length = kvInfo->DataLength - sizeof(UNICODE_NULL); in IopInitializeBuiltinDriver()
973 instancePath.MaximumLength = kvInfo->DataLength; in IopInitializeBuiltinDriver()
980 (PVOID)((ULONG_PTR)kvInfo + kvInfo->DataOffset), in IopInitializeBuiltinDriver()
997 ExFreePool(kvInfo); in IopInitializeBuiltinDriver()
1947 PKEY_VALUE_FULL_INFORMATION kvInfo; in IopLoadDriver() local
1948 Status = IopGetRegistryValue(ServiceHandle, L"ImagePath", &kvInfo); in IopLoadDriver()
1951 if ((kvInfo->Type != REG_EXPAND_SZ && kvInfo->Type != REG_SZ) || kvInfo->DataLength == 0) in IopLoadDriver()
1953 ExFreePool(kvInfo); in IopLoadDriver()
1957 ImagePath.Length = kvInfo->DataLength - sizeof(UNICODE_NULL); in IopLoadDriver()
1958 ImagePath.MaximumLength = kvInfo->DataLength; in IopLoadDriver()
1962 ExFreePool(kvInfo); in IopLoadDriver()
1967 (PVOID)((ULONG_PTR)kvInfo + kvInfo->DataOffset), in IopLoadDriver()
1970 ExFreePool(kvInfo); in IopLoadDriver()