languages specified in SupportedLanguages.\r
The number of languages supported by a\r
driver is up to the driver writer. Language\r
- is specified in RFC 3066 language code\r
+ is specified in RFC 4646 language code\r
format.\r
\r
@param DriverName A pointer to the Unicode string to return.\r
retrieve the name of. This is an\r
optional parameter that may be NULL.\r
It will be NULL for device drivers.\r
- It will also be NULL for a bus\r
+ It will also be NULL for bus\r
drivers that wish to retrieve the\r
name of the bus controller. It will\r
not be NULL for a bus driver that\r
SupportedLanguages. The number of\r
languages supported by a driver is up\r
to the driver writer. Language is\r
- specified in RFC 3066 language code\r
+ specified in RFC 4646 language code\r
format.\r
\r
@param ControllerName A pointer to the Unicode string to\r
OUT CHAR16 **ControllerName\r
);\r
\r
-//\r
-// Interface structure for the Component Name2 Protocol\r
-//\r
-/**\r
- @par Protocol Description:\r
- This protocol is used to retrieve user readable names of drivers \r
- and controllers managed by UEFI Drivers.\r
-\r
- @param GetDriverName\r
- Retrieves a Unicode string that is the user readable name of the driver.\r
- \r
- @param GetControllerName\r
- Retrieves a Unicode string that is the user readable name of a\r
- controller that is being managed by a driver.\r
- \r
- @param SupportedLanguages \r
- A Null-terminated ASCII string array that contains one or more\r
- supported language codes. This is the list of language codes that\r
- this protocol supports. The number of languages supported by a\r
- driver is up to the driver writer. SupportedLanguages is\r
- specified in RFC 3066 format.\r
- \r
-**/\r
+///\r
+/// This protocol is used to retrieve user readable names of drivers \r
+/// and controllers managed by UEFI Drivers.\r
+///\r
struct _EFI_COMPONENT_NAME2_PROTOCOL {\r
EFI_COMPONENT_NAME2_GET_DRIVER_NAME GetDriverName;\r
EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME GetControllerName;\r
+\r
+ ///\r
+ /// A Null-terminated ASCII string array that contains one or more\r
+ /// supported language codes. This is the list of language codes that\r
+ /// this protocol supports. The number of languages supported by a\r
+ /// driver is up to the driver writer. SupportedLanguages is\r
+ /// specified in RFC 4646 format. \r
+ ///\r
CHAR8 *SupportedLanguages;\r
};\r
\r