PCD_PROTOCOL.GetNextTokenSpace()
Summary
Retrieves the next valid PCD token namespace for a given namespace.
Prototype
typedef
EFI_STATUS
(EFIAPI *PCD_PROTOCOL_GET_NEXT_TOKENSPACE) (
IN OUT CONST EFI_GUID **Guid
);
Parameters
Guid
An indirect pointer to EFI_GUID
. On input, it designates a known token
namespace from which the search will start. On output, it designates the next
valid token namespace on the platform. If *Guid
is NULL
, then the
GUID of the first token space of the current platform is returned. If the
search cannot locate the next valid token namespace, an error is returned and
the value of *Guid
is undefined.
Description
Gets the next valid token namespace for a given namespace. This is useful for traversing the valid token namespaces on a platform.
Status Codes Returned
Status Code | Description |
---|---|
EFI_SUCCESS |
The PCD service retrieved the value requested. |
EFI_NOT_FOUND |
The PCD service could not find the next valid token namespace. |