ACPI_METHOD_ARGUMENT_LENGTH - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acpiioct.h

void ACPI_METHOD_ARGUMENT_LENGTH(
    DataLength
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (acpi-method-argument-length)

ACPI_METHOD_ARGUMENT_LENGTH macro

The ACPI_METHOD_ARGUMENT_LENGTH macro calculates the size, in bytes, of a variable-length ACPI_METHOD_ARGUMENT structure that contains data of a specified size, in bytes.

Parameters

DataLength The size, in bytes, of data in the Data array of an ACPI_METHOD_ARGUMENT structure.

Return value

The size, in bytes, of a variable-length ACPI_METHOD_ARGUMENT structure that can contains a Data array whose size, in bytes, is DataLength.

Remarks

A driver can use this macro to calculate the required size, in bytes, of a variable-length ACPI_METHOD_ARGUMENT structure that can contain a Data array of a specified size, in bytes.

Requirements

Target platform: Desktop

Header: acpiioct.h (include Acpiioct.h)

See also

ACPI_METHOD_ARGUMENT