PnpGetMappedPropertyKeysDispatch

NTSTATUS __stdcall PnpGetMappedPropertyKeysDispatch(
        HPNPCTX *hPnpCtx,
        WCHAR *ObjectName,
        PNP_OBJECT_TYPE ObjectType,
        VOID *ObjectBaseKey,
        WCHAR *PropertyLocaleName,
        UINT8 IncludeAllLocales,
        _DEVPROPKEY *PropertyKeys,
        UINT64 BufferLength,
        UINT64 *PropertyCount){
  NTSTATUS result; 
  __int64 v14[2]; 
  __int64 v15[8]; 

  v14[0] = 0i64;
  memset(v15, 0i64, sizeof(v15));
  result = PnpCtxGetObjectDispatchCallback((__int64)hPnpCtx, ObjectType, v14);
  if( result >= 0 )
  {
    if( v14[0] )
    {
      LODWORD(v15[6]) = 0;
      v15[1] = (__int64)PropertyLocaleName;
      v15[3] = (__int64)PropertyKeys;
      LOBYTE(v15[2]) = IncludeAllLocales;
      LODWORD(v15[4]) = BufferLength;
      v15[5] = (__int64)PropertyCount;
      v15[0] = (__int64)ObjectBaseKey;
      return((__int64(__fastcall *)(HPNPCTX *, WCHAR *, _QWORD, __int64, __int64 *))v14[0])(
               hPnpCtx,
               ObjectName,
               (unsigned int)ObjectType,
               6i64,
               v15);
    }
    else
    {
      return -1073741822;
    }
  }
  return result;
}

Referenced by:

PnpGetObjectPropertyKeysWorker