跳转至

base/system/cpu/private/win_impl/cpu_info.h

CPU Basic Information Query (Model, Architecture, Manufacturer) More...

Functions

Name
cf::expected< void, cf::CPUInfoErrorType > query_cpu_basic_info(cf::CPUInfoHost & hostInfo)
Internal Windows Query for basic CPU information.

Detailed Description

CPU Basic Information Query (Model, Architecture, Manufacturer)

Author: Charliechen114514 (chengh1922@mails.jlu.edu.cn)

Version: 0.1

Date: 2026-02-22

Copyright: Copyright © 2026

Functions Documentation

function query_cpu_basic_info

cf::expected< void, cf::CPUInfoErrorType > query_cpu_basic_info(
    cf::CPUInfoHost & hostInfo
)

Internal Windows Query for basic CPU information.

Parameters:

  • hostInfo Output parameter containing model, manufacturer, and architecture

Return: cf::expected

Source code

#pragma once

#include "../cpu_host.h"
#include "base/expected/expected.hpp"
#include "system/cpu/cfcpu.h"

cf::expected<void, cf::CPUInfoErrorType> query_cpu_basic_info(cf::CPUInfoHost& hostInfo);

Updated on 2026-03-09 at 10:14:01 +0000