wmidev_invoke_procedure(9)
π
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:
wmi_instance_count(9)wmidev_instance_count(9)wmi_evaluate_method(9)wmidev_evaluate_method(9)wmidev_invoke_method(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_has_guid(9)wmi_get_acpi_device_uid(9)wmi_driver_unregister(9)
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
- 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