Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.32 KB

acpi-method-argument-length-from-argument.md

File metadata and controls

43 lines (28 loc) · 1.32 KB
title description keywords ms.date ms.topic
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.
ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT macro ACPI Devices
03/17/2023
reference

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

ACPI_METHOD_ARGUMENT