Status codes returned, Examples – Intel Extensible Firmware Interface User Manual

Page 167

Advertising
background image

Services — Boot Services

Version 1.10

12/01/02

5-69

Status Codes Returned

EFI_SUCCESS

The list of protocol interface GUIDs installed on

Handle

was returned in

ProtocolBuffer

. The number of protocol interface GUIDs was

returned in

ProtocolBufferCount

.

EFI_INVALID_PARAMETER

Handle

is

NULL

.

EFI_INVALID_PARAMETER

Handle

is not a valid

EFI_HANDLE

.

EFI_INVALID_PARAMETER

ProtocolBuffer

is

NULL

.

EFI_INVALID_PARAMETER

ProtocolBufferCount

is

NULL

.

EFI_OUT_OF_RESOURCES

There is not enough pool memory to store the results.

Examples

See example in the

LocateHandleBuffer()

function description for an example on how

LocateHandleBuffer()

,

ProtocolsPerHandle()

,

OpenProtocol()

, and

OpenProtocolInformation()

can be used to traverse the entire handle database.

Advertising