Lines Matching refs:ConfigInfo
690 FORM_BROWSER_CONFIG_REQUEST *ConfigInfo;
765 ConfigInfo = NULL;
769 ConfigInfo = FORM_BROWSER_CONFIG_REQUEST_FROM_LINK (Link);
771 if (ConfigInfo != NULL && ConfigInfo->Storage == FormsetStorage->BrowserStorage) {
780 ConfigInfo = AllocateZeroPool(sizeof (FORM_BROWSER_CONFIG_REQUEST));
781 ASSERT (ConfigInfo != NULL);
782 ConfigInfo->Signature = FORM_BROWSER_CONFIG_REQUEST_SIGNATURE;
783 ConfigInfo->ConfigRequest = AllocateCopyPool (StrSize (FormsetStorage->ConfigHdr), FormsetStorage->ConfigHdr);
784 ASSERT (ConfigInfo->ConfigRequest != NULL);
785 ConfigInfo->SpareStrLen = 0;
786 ConfigInfo->Storage = FormsetStorage->BrowserStorage;
787 InsertTailList(&Form->ConfigRequestHead, &ConfigInfo->Link);
789 StringSize = (ConfigInfo->ConfigRequest != NULL) ? StrSize (ConfigInfo->ConfigRequest) : sizeof (CHAR16);
790 MaxLen = StringSize / sizeof (CHAR16) + ConfigInfo->SpareStrLen;
795 if (StrLen > ConfigInfo->SpareStrLen) {
802 if (ConfigInfo->ConfigRequest != NULL) {
803 CopyMem (NewStr, ConfigInfo->ConfigRequest, StringSize);
804 FreePool (ConfigInfo->ConfigRequest);
806 ConfigInfo->ConfigRequest = NewStr;
807 ConfigInfo->SpareStrLen = CONFIG_REQUEST_STRING_INCREMENTAL;
810 StrCatS (ConfigInfo->ConfigRequest, MaxLen, RequestElement);
811 ConfigInfo->ElementCount++;
812 ConfigInfo->SpareStrLen -= StrLen;
999 FORM_BROWSER_CONFIG_REQUEST *ConfigInfo;
1028 ConfigInfo = FORM_BROWSER_CONFIG_REQUEST_FROM_LINK (Link);
1029 RemoveEntryList (&ConfigInfo->Link);
1031 FreePool (ConfigInfo->ConfigRequest);
1032 FreePool (ConfigInfo);