42 HII_RESOURCE_SAMPLE_FORM_SET_GUID
46 END_ENTIRE_DEVICE_PATH_SUBTYPE,
48 (UINT8)(END_DEVICE_PATH_LENGTH),
49 (UINT8)((END_DEVICE_PATH_LENGTH) >> 8)
76 Status =
gBS->OpenProtocol (
78 &gEfiHiiPackageListProtocolGuid,
79 (VOID **)&PackageList,
82 EFI_OPEN_PROTOCOL_GET_PROTOCOL
84 if (EFI_ERROR (Status)) {
91 Status =
gBS->InstallProtocolInterface (
93 &gEfiDevicePathProtocolGuid,
97 if (EFI_ERROR (Status)) {
110 if (EFI_ERROR (Status)) {
130 if (mDriverHandle !=
NULL) {
131 gBS->UninstallProtocolInterface (
133 &gEfiDevicePathProtocolGuid,
134 &mHiiVendorDevicePath
136 mDriverHandle =
NULL;
139 if (mHiiHandle !=
NULL) {
#define HARDWARE_DEVICE_PATH
VOID EFIAPI HiiRemovePackages(IN EFI_HII_HANDLE HiiHandle)
EFI_STATUS EFIAPI HiiResourcesSampleInit(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI HiiResourcesSampleUnload(IN EFI_HANDLE ImageHandle)
EFI_HII_DATABASE_PROTOCOL * gHiiDatabase