Home | History | Annotate | Download | only in HttpBootDxe

Lines Matching refs:CallbackInfo

238   HTTP_BOOT_FORM_CALLBACK_INFO     *CallbackInfo;

258 CallbackInfo = HTTP_BOOT_FORM_CALLBACK_INFO_FROM_CONFIG_ACCESS (This);
263 ZeroMem (&CallbackInfo->HttpBootNvData, BufferSize);
264 StrCpyS (CallbackInfo->HttpBootNvData.Description, DESCRIPTION_STR_MAX_SIZE / sizeof (CHAR16), HTTP_BOOT_DEFAULT_DESCRIPTION_STR);
273 ConfigRequestHdr = HiiConstructConfigHdr (&gHttpBootConfigGuid, mHttpBootConfigStorageName, CallbackInfo->ChildHandle);
287 (UINT8 *) &CallbackInfo->HttpBootNvData,
362 HTTP_BOOT_FORM_CALLBACK_INFO *CallbackInfo;
382 CallbackInfo = HTTP_BOOT_FORM_CALLBACK_INFO_FROM_CONFIG_ACCESS (This);
383 Private = HTTP_BOOT_PRIVATE_DATA_FROM_CALLBACK_INFO (CallbackInfo);
386 ZeroMem (&CallbackInfo->HttpBootNvData, BufferSize);
391 (UINT8 *) &CallbackInfo->HttpBootNvData,
404 (CallbackInfo->HttpBootNvData.IpVersion == HTTP_BOOT_IP_VERSION_6) ? TRUE : FALSE,
405 CallbackInfo->HttpBootNvData.Description,
406 CallbackInfo->HttpBootNvData.Uri
451 HTTP_BOOT_FORM_CALLBACK_INFO *CallbackInfo;
457 CallbackInfo = HTTP_BOOT_FORM_CALLBACK_INFO_FROM_CONFIG_ACCESS (This);
468 Uri = HiiGetString (CallbackInfo->RegisteredHandle, Value->string, NULL);
488 HiiSetString (CallbackInfo->RegisteredHandle, Value->string, Uri, NULL);
529 HTTP_BOOT_FORM_CALLBACK_INFO *CallbackInfo;
535 CallbackInfo = &Private->CallbackInfo;
537 if (CallbackInfo->Initilized) {
541 CallbackInfo->Signature = HTTP_BOOT_FORM_CALLBACK_INFO_SIGNATURE;
553 CallbackInfo->HiiVendorDevicePath = AppendDevicePathNode (
557 if (CallbackInfo->HiiVendorDevicePath == NULL) {
562 CallbackInfo->ConfigAccess.ExtractConfig = HttpBootFormExtractConfig;
563 CallbackInfo->ConfigAccess.RouteConfig = HttpBootFormRouteConfig;
564 CallbackInfo->ConfigAccess.Callback = HttpBootFormCallback;
570 &CallbackInfo->ChildHandle,
572 CallbackInfo->HiiVendorDevicePath,
574 &CallbackInfo->ConfigAccess,
584 CallbackInfo->RegisteredHandle = HiiAddPackages (
586 CallbackInfo->ChildHandle,
591 if (CallbackInfo->RegisteredHandle == NULL) {
602 CallbackInfo->RegisteredHandle,
608 CallbackInfo->RegisteredHandle,
617 CallbackInfo->Initilized = TRUE;
643 HTTP_BOOT_FORM_CALLBACK_INFO *CallbackInfo;
652 CallbackInfo = &Private->CallbackInfo;
653 if (CallbackInfo->ChildHandle != NULL) {
658 CallbackInfo->ChildHandle,
660 CallbackInfo->HiiVendorDevicePath,
662 &CallbackInfo->ConfigAccess,
665 CallbackInfo->ChildHandle = NULL;
668 if (CallbackInfo->HiiVendorDevicePath != NULL) {
669 FreePool (CallbackInfo->HiiVendorDevicePath);
670 CallbackInfo->HiiVendorDevicePath = NULL;
673 if (CallbackInfo->RegisteredHandle != NULL) {
677 HiiRemovePackages (CallbackInfo->RegisteredHandle);
678 CallbackInfo->RegisteredHandle = NULL;