EFI_DISPLAY_POWER_PROTOCOL.GetDisplayPowerState
Returns the current power state of the display and backlight.
typedef EFI_STATUS (EFIAPI * EFI_DISPLAY_POWER_GETDISPLAYPOWERSTATE) (
IN EFI_DISPLAY_POWER_PROTOCOL *This,
OUT EFI_DISPLAY_POWER_STATE *PowerState
);
This
[in] A pointer to the EFI_DISPLAY_POWER_PROTOCOL instance.
PowerState
[out] A pointer to an EFI_DISPLAY_POWER_STATE value that receives the current power state.
Returns one of the following status codes.
Status code | Description |
---|---|
EFI_SUCCESS | The function returned successfully. |
EFI_INVALID_PARAMETER | A parameter was invalid. |
EFI_DEVICE_ERROR | The physical device reported an error. |
Header: User generated