PiDqActionDataGetAllPropertiesInAllLanguages
NTSTATUS __stdcall PiDqActionDataGetAllPropertiesInAllLanguages(
_SECURITY_SUBJECT_CONTEXT *SecurityContext,
_DEVPROPSTORE Store,
PNP_OBJECT_TYPE ObjectType,
WCHAR *ObjectName,
const VOID **Properties,
UINT64 *PropertyCount,
UINT64 *MaxPropertyCount,
UINT64 *a8){
PNP_OBJECT_TYPE v9;
void *v10;
int v11;
_DEVPROPKEY **v12;
UINT64 *v14;
UINT64 v15;
VOID *ObjectBaseKey[2];
UINT64 v17;
ObjectBaseKey[0] = 0i64;
v17 = 0i64;
ObjectBaseKey[1] = 0i64;
v9 = 0;
if( Store != DEVPROP_STORE_USER )
v9 = ObjectType;
v10 = 0i64;
v11 = PiDqOpenObjectRegKey(Store, ObjectName, ObjectType, 1ui64, 0, SecurityContext, ObjectBaseKey, v14, v15);
if( v11 >= 0 )
{
v11 = PiDqPnPGetObjectPropertyKeys(ObjectName, v9, ObjectBaseKey[0], v12, &v17);
v10 = (void *)v17;
}
if( ObjectBaseKey[0] )
ZwClose((_HANDLE)ObjectBaseKey[0]);
if( v10 )
ExFreePoolWithTag(v10, 0x58706E50u);
return v11;
}Referenced by:
PiDqActionDataCreate