PCD_PPI.GetPtr()

Summary

Retrieves a pointer to a value for a given PCD token.

Prototype

typedef
VOID *
(EFIAPI *PCD_PPI_GET_POINTER)(
  IN UINTN  TokenNumber
  );

Parameters

TokenNumber

The PCD token number.

Description

Retrieves the current pointer to the buffer for a PCD token number. Do not make any assumptions about the alignment of the pointer that is returned by this function call. If the TokenNumber is invalid, the results are unpredictable.