wmidev_invoke_procedure(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… wmidev_invoke_procedure(9) β€” Kernel API Manual ✨

okay bestie, this is the wmidev_invoke_procedure(9) page from the Kernel API Manual. It’s the β€œcall a WMI method, get literally nothing back” girlie. Let’s go πŸŽ€

🌸 NAME 🌸

wmidev_invoke_procedure β€” Invoke a WMI method that does not return values.

πŸ¦‹ SYNOPSIS πŸ¦‹

int wmidev_invoke_procedure (struct wmi_device *wdev , u8 instance , u32 method_id , const struct wmi_buffer *in );

πŸŽ€ ARGUMENTS πŸŽ€

  • wdev β€” A wmi bus device from a driver. literally the device ur driver is working with 🫢
  • instance β€” Instance index. the index, bestie ✨
  • method_id β€” Method ID to call. tell it which method ID u want πŸ”₯
  • in β€” Mandatory WMI buffer containing input for the method call. mandatory means u can’t skip it, no cap πŸ’€

πŸ’– DESCRIPTION πŸ’–

okay so this function invokes a WMI method that does not return any values. That’s the whole vibe: you call it, it does the thing, and no return values come back. If you need a WMI method that does return values, use wmidev_invoke_method instead β€” that’s the one for values, bestie. πŸ’…

⭐ RETURN ⭐

0 on success, or a negative error code on failure. that’s it. success is 0, failure is negative error code. periodt. πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./drivers/platform/wmi/core.c β€” that’s the kernel file, bestie. and the whole friend group is:


that’s the whole page, bestie. source/version vibes from ./drivers/platform/wmi, dated October 2026 β€” wmidev_invoke_procedure(9) signing off! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from