15.03.2015 Views

SetupDesignGuide.pdf - Firmware Encoding Index

SetupDesignGuide.pdf - Firmware Encoding Index

SetupDesignGuide.pdf - Firmware Encoding Index

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Setup Design Guide<br />

DRAFT<br />

7.1.3 EFI_HII_PROTOCOL.FindHandles()<br />

Summary<br />

Determines the handles that are currently active in the database.<br />

Prototype<br />

EFI_STATUS<br />

(EFIAPI *EFI_HII_FIND_HANDLES) (<br />

IN EFI_HII_PROTOCOL *This,<br />

IN OUT UINT16<br />

*HandleBufferLength,<br />

OUT EFI_HII_HANDLE *Handle<br />

);<br />

Parameters<br />

This<br />

HandleBufferLength<br />

Handle<br />

A pointer to the EFI_HII_PROTOCOL instance.<br />

A pointer to the length of the handle buffer on input. On output the<br />

actual number of handles.<br />

An array of EFI_HII_HANDLE instances returned.<br />

Description<br />

Determines the handles that are currently active in the database. As an example of use, a program<br />

wishing to create a Setup-like configuration utility would use this call to determine the handles<br />

available. It would then use calls defined in the forms section below to extract forms and then interpret<br />

them.<br />

Status Codes Returned<br />

EFI_SUCCESS<br />

EFI_BUFFER_TOO_SMALL<br />

Handles[] updated successfully.<br />

The HandleBufferLength parameter indicates that Handle[] is too<br />

small to support the number of handles. HandleBufferLength is<br />

updated with a value that will enable the data to fit.<br />

54

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!