EnumSystemFirmwareTables function

Enumerates the system firmware table. All input parameters are supplied by the display miniport driver.


NTSTATUS EnumSystemFirmwareTables(
  _In_       VOID  *Context,
  _In_       ULONG ProviderSignature,
  _In_       ULONG TableId,
  _In_       ULONG BufferSize,
  _Out_opt_  VOID  *Buffer,
  _Out_      ULONG *RequiredSize


Context [in]

A handle to a context block that is associated with a display adapter. The display miniport driver's DxgkDdiAddDevice function previously provided this handle to the DirectX graphics kernel subsystem.

ProviderSignature [in]

The identifier of the firmware table provider to which the query is to be directed. This parameter can be one of the following values.


The ACPI firmware table provider.


The raw firmware table provider.


The raw SMBIOS firmware table provider.


TableId [in]

The identifier of the firmware table. This identifier is in little-endian format, so you must reverse the characters in the string. For example, FACP is an ACPI provider, as described in the Signature member of the DESCRIPTION_HEADER structure in the ACPI specification (see http://www.acpi.info). Therefore, use 'PCAF' to specify the FACP table, as shown in the following example:

retVal = ReadSystemFirmwareTable('ACPI', 'PCAF', pBuffer, BUFSIZE);

BufferSize [in]

The size of the buffer pointed to by the Buffer parameter, in bytes.

Buffer [out, optional]

An optional pointer to a buffer that receives the list of firmware tables. If this parameter is NULL, the return value is the required buffer size. For more information on the contents of this buffer, see the Remarks section.

RequiredSize [out]

A pointer to a value that receives the minimum size of the buffer pointed to by Buffer, in bytes, that the operating system needs to process the enumeration request.

Return value

Returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.


The raw SMBIOS table provider ('RSMB') currently returns a single table identifier, 0x0000. This corresponds to the raw SMBIOS firmware table.

The raw firmware table provider ('FIRM') returns a list of DWORD table identifiers. Each identifier corresponds to the beginning of a physical address range. Currently, this provider returns 'C0000' and 'E0000'. These values correspond to physical memory from 0xC0000 to 0xDFFFF and 0xE0000 to 0xFFFFF, respectively.

The ACPI table provider ('ACPI') returns a list of DWORD table identifiers. Each identifier returned corresponds to the Signature member of the DESCRIPTION_HEADER structure for an ACPI table currently in the ACPI namespace of the system.

For ACPI, if the system contains multiple tables with the same name, they are all enumerated with EnumSystemFirmwareTables. However, ReadSystemFirmwareTable retrieves only the first table in the list with this name.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform



Dispmprt.h (include Dispmprt.h)


OneCoreUAP.lib on Windows 10 Technical Preview





See also




Send comments about this topic to Microsoft

© 2015 Microsoft