PEP_ACPI_INITIALIZE_MEMORY_RESOURCE function (pepfx.h)

The PEP_ACPI_INITIALIZE_MEMORY_RESOURCE function initializes a platform extension plug-in's (PEP) PEP_ACPI_IO_MEMORY_RESOURCE structure.

Syntax

void PEP_ACPI_INITIALIZE_MEMORY_RESOURCE(
  [in]  UCHAR              ReadWrite,
  [in]  ULONG              MinimumAddress,
  [in]  ULONG              MaximumAddress,
  [in]  ULONG              Alignment,
  [in]  ULONG              MemorySize,
  [out] PPEP_ACPI_RESOURCE Resource
);

Parameters

[in] ReadWrite

If true, indicates that the resource is read/write. Otherwise, it's read-only.

[in] MinimumAddress

Specifies the minimum acceptable starting address for the IO range.

[in] MaximumAddress

Specifies the maximum acceptable starting address for the IO range.

[in] Alignment

Specifies the alignment granularity for the memory address assigned.

[in] MemorySize

Specifies the number of bytes in the memory range.

[out] Resource

A pointer to the resource. The structure behind the pointer is of type PEP_ACPI_IO_MEMORY_RESOURCE.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Target Platform Windows
Header pepfx.h (include Pep_x.h)

See also

PEP_ACPI_IO_MEMORY_RESOURCE