imagingqert.blogg.se

Klib definition
Klib definition









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.

klib definition

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.

klib definition

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)

#Klib definition how to

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.

klib definition

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.









Klib definition