ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT macro
The ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT macro calculates the size, in bytes, of the data that is contained in the Data array of an ACPI_METHOD_ARGUMENT structure.
Syntax
void ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT(
Argument
);
Parameters
Argument A pointer to an ACPI_METHOD_ARGUMENT structure.
Return value
The size, in bytes, of the data that is contained in the Data array of the ACPI_METHOD_ARGUMENT structure that Argument points to.
Remarks
A driver can use this macro to determine the size, in bytes, of the data in the Data array of an ACPI_METHOD_ARGUMENT structure.
Requirements
Target platform: Desktop
Header: acpiioct.h (include Acpiioct.h)
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for