/*++\r
-Copyright (c) 2006 - 2007, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name:\r
DriverSample.c\r
\r
Abstract:\r
\r
- This is an example of how a driver might export data to the HII protocol to be \r
+ This is an example of how a driver might export data to the HII protocol to be\r
later utilized by the Setup Protocol\r
\r
--*/\r
\r
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
-\r
#include "DriverSample.h"\r
\r
#define DISPLAY_ONLY_MY_ITEM 0x0001\r
}\r
\r
EFI_GUID mFormSetGuid = FORMSET_GUID;\r
-EFI_GUID mStringPackGuid = STRING_PACK_GUID; \r
+EFI_GUID mStringPackGuid = STRING_PACK_GUID;\r
\r
STATIC\r
EFI_STATUS\r
\r
This is the function that is called to provide results data to the driver. This data\r
consists of a unique key which is used to identify what data is either being passed back\r
- or being asked for. \r
+ or being asked for.\r
\r
Arguments:\r
\r
\r
Data - A pointer to the data being sent to the original exporting driver.\r
\r
-Returns: \r
+Returns:\r
\r
--*/\r
{\r
\r
CallbackInfo->CallbackHandle = Handle;\r
\r
- PackageList = PreparePackages (1, &mStringPackGuid, DriverSampleStrings);\r
+ PackageList = PreparePackages (1, &mStringPackGuid, DriverSampleDxeStrings);\r
Status = Hii->NewPack (Hii, PackageList, &HiiHandle);\r
FreePool (PackageList);\r
\r