Retrieves a Boolean value for a given PCD token. Retrieves the current boolean value 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. @param[in] TokenNumber The PCD token number. @return The Boolean value. **/
| 441 | |
| 442 | **/ |
| 443 | BOOLEAN |
| 444 | EFIAPI |
| 445 | DxePcdGetBool ( |
| 446 | IN UINTN TokenNumber |
| 447 | ) |
| 448 | { |
| 449 | return *((BOOLEAN *) GetWorker (TokenNumber, sizeof (BOOLEAN))); |
| 450 | } |
| 451 | |
| 452 | /** |
| 453 | Retrieves the size of the value for a given PCD token. |
nothing calls this directly
no test coverage detected