12/19/2023 0 Comments Klib library![]() The ACPI table provider ('ACPI') retrieves the contents of the specified ACPI table. The value written to * ReturnLength is the size of the address range. ![]() The raw firmware table provider ('FIRM') retrieves the contents of the specified physical address range. The data written to the FirmwareTableBuffer buffer starts with the following structure: struct RawSMBIOSData The raw SMBIOS table provider ('RSMB') retrieves the contents of the raw SMBIOS firmware table. ![]() The caller-allocated buffer is too small, but the required buffer size has been written to the ReturnLength output parameter. Return codeĪn invalid parameter was supplied to the routine. Possible return values include the following error codes. Return valueĪuxKlibGetSystemFirmwareTable returns STATUS_SUCCESS if the call is successful. The size, in bytes, of the buffer pointed to by FirmwareTableBuffer.Ī pointer to a location to which the routine writes the number of bytes of data written to the buffer pointed to by FirmwareTableBuffer. For more information about the contents of this buffer, see the Remarks section. If this parameter is NULL, the value written to * ReturnLength is the required buffer size. For more information about the DESCRIPTION_HEADER structure, see the Advanced Configuration and Power Interface Specification at the Advanced Configuration and Power Interface website.Ī pointer to a caller-allocated buffer that receives the list of firmware tables. In this example, pBuffer points to the caller-allocated buffer, BUFSIZE is the size in bytes of this buffer, and dataSize is a variable to which the routine writes the number of bytes written to the buffer. Status = AuxKlibGetSystemFirmwareTable('ACPI', 'PCAF', pBuffer, BUFSIZE, &dataSize) The following code example shows how to specify FACP in an AuxKlibGetSystemFirmwareTable call: The FACP table is identified by the 4-byte value 'PCAF' (0x50434146) in the Signature field of the DESCRIPTION_HEADER structure at the start of the table. The characters in the identifier are in little-endian order.įor example, FACP is the name of a table provided by ACPI. This parameter can be one of the following values. The identifier of the firmware table provider to which the query is to be directed. Syntax NTSTATUS AuxKlibGetSystemFirmwareTable( The AuxKlibGetSystemFirmwareTable routine retrieves the specified firmware table from the firmware table provider.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |