wmi_evaluate_method(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… wmi_evaluate_method β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the wmi_evaluate_method(9) page πŸ’– this is a kernel API manual, and yes we're doing this together, you're gonna slay this.


✨ NAME ✨

wmi_evaluate_method β€” evaluate a WMI method (and like… it's deprecated, bestie, i'm so serious 😭)

πŸ¦‹ SYNOPSIS πŸ¦‹

acpi_status wmi_evaluate_method (const char *guid_string , u8 instance ,
u32 method_id , const struct acpi_buffer *in , struct acpi_buffer *out
);

πŸŽ€ ARGUMENTS πŸŽ€

  • guid_string β€” a 36 character string, and it's giving exactly this form: fa50ff2b-f2e8-45de-83fa-65417f2f49ba. iconic little UUID vibe, no cap πŸ’…
  • instance β€” the instance index, like which one of them you're talking to
  • method_id β€” the method ID you wanna call, yep that one
  • in β€” a mandatory buffer containing the input for the method call, so don't come to the function empty-handed πŸ™ˆ
  • out β€” an empty buffer that the method results get returned into, it's literally the vessel ✨

πŸ’œ DESCRIPTION πŸ’œ

So what this does: it calls an ACPI-WMI method. that's it, that's the whole thing 🫢

⚠️ but bestie listen: the caller must free out. you. you free it. nobody's gonna come do it for you, it's your mess now ✨ also, reminder that this whole function is deprecated, so maybe go look at the newer kids in SEE ALSO, iykyk πŸ’€

🌈 RETURN 🌈

Returns an acpi_status signaling success or error β€” so like, it either ate or it flopped, and you'll know which πŸ’…

🌸 SEE ALSO 🌸

Kernel file ./drivers/platform/wmi/core.c β€” go read the source, it's lowkey the main character πŸ‘‘


and that's the page, bestie, you ate that πŸ“ this one came from the ./drivers/platform/wmi source, dated October 2026, and it's filed under wmi_evaluate_method(9) β€” mwah, go forth and free your buffers πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from