Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2.11 KB

pcdppi_getptr.md

File metadata and controls

58 lines (42 loc) · 2.11 KB

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.