EFI_GUID mFormSetGuid = FORMSET_GUID;\r
EFI_GUID mStringPackGuid = STRING_PACK_GUID; \r
\r
+STATIC\r
EFI_STATUS\r
EFIAPI\r
DriverCallback (\r
//\r
// Allocate space for creation of Buffer\r
//\r
- QuestionId = (UINT16) ((UINTN) (&NVStruc.DynamicCheck));\r
+ QuestionId = (UINT16) ((UINTN) (&NVStruc.DynamicCheck) - (UINTN) (&NVStruc));\r
Status = gBS->AllocatePool (\r
EfiBootServicesData,\r
0x1000,\r