wmi_has_guid(9)
π wmi_has_guid(9) β bestie edition
okay so welcome to the wmi_has_guid(9) page, straight out of the Kernel API Manual β¨ this is the little function that does a vibe check on your GUIDs, and honestly? she's simple, she's iconic, she ate.
πΈ NAME πΈ
wmi_has_guid β check if a GUID is available π
β¨ SYNOPSIS β¨
bool wmi_has_guid (const char *guid_string );
like, that's the whole thing. one argument, one bool back. no drama, no cap π
π¦ ARGUMENTS π¦
guid_stringβ a 36 char string, and it's gotta be in exactly this form:fa50ff2b-f2e8-45de-83fa-65417f2f49ba. 36 characters, hyphens in all the right places, main character formatting only π₯
π DESCRIPTION π
so what she actually does: she checks if a given GUID is defined by _WDG. that's it. that's the whole job π«Ά lowkey the moment, but someone's gotta do it.
β RETURN β
- True if the GUID is available π
- false otherwise π
literally that simple, no in-between, no "maybe", no situationship.
π SEE ALSO π
kernel file: ./drivers/platform/wmi/core.c β go read the source, it's giving lore π§
and then the whole friend group, all in their section 9 era:
wmi_instance_count(9)wmidev_instance_count(9)wmi_evaluate_method(9)wmidev_evaluate_method(9)wmidev_invoke_method(9)wmidev_invoke_procedure(9)wmi_query_block(9)wmidev_block_query(9)wmidev_query_block(9)wmi_set_block(9)wmidev_block_set(9)wmidev_set_block(9)wmi_install_notify_handler(9)wmi_remove_notify_handler(9)wmi_get_acpi_device_uid(9)wmi_driver_unregister(9)
ngl bestie, if you got all the way here you're officially a WMI girlie now π stay hydrated, check your GUIDs, and remember: 36 characters, hyphens included, no exceptions π
okay that's a wrap!! mwah π this page came to you from ./drivers/platform/wmi, dated October 2026, living its best life in the Kernel API Manual (that's section 9, iykyk) ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms