wmi_has_guid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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