2 UEFI Component Name(2) protocol implementation for ConSplitter driver.
4 Copyright (c) 2006, Intel Corporation. <BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #include "ConSplitter.h"
18 // EFI Component Name Protocol
20 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gConSplitterConInComponentName
= {
21 ConSplitterComponentNameGetDriverName
,
22 ConSplitterConInComponentNameGetControllerName
,
27 // EFI Component Name 2 Protocol
29 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterConInComponentName2
= {
30 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME
) ConSplitterComponentNameGetDriverName
,
31 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME
) ConSplitterConInComponentNameGetControllerName
,
37 // EFI Component Name Protocol
39 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gConSplitterSimplePointerComponentName
= {
40 ConSplitterComponentNameGetDriverName
,
41 ConSplitterSimplePointerComponentNameGetControllerName
,
46 // EFI Component Name 2 Protocol
48 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterSimplePointerComponentName2
= {
49 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME
) ConSplitterComponentNameGetDriverName
,
50 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME
) ConSplitterSimplePointerComponentNameGetControllerName
,
55 // EFI Component Name Protocol
57 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gConSplitterAbsolutePointerComponentName
= {
58 ConSplitterComponentNameGetDriverName
,
59 ConSplitterAbsolutePointerComponentNameGetControllerName
,
64 // EFI Component Name 2 Protocol
66 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterAbsolutePointerComponentName2
= {
67 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME
) ConSplitterComponentNameGetDriverName
,
68 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME
) ConSplitterAbsolutePointerComponentNameGetControllerName
,
73 // EFI Component Name Protocol
75 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gConSplitterConOutComponentName
= {
76 ConSplitterComponentNameGetDriverName
,
77 ConSplitterConOutComponentNameGetControllerName
,
82 // EFI Component Name 2 Protocol
84 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterConOutComponentName2
= {
85 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME
) ConSplitterComponentNameGetDriverName
,
86 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME
) ConSplitterConOutComponentNameGetControllerName
,
92 // EFI Component Name Protocol
94 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL gConSplitterStdErrComponentName
= {
95 ConSplitterComponentNameGetDriverName
,
96 ConSplitterStdErrComponentNameGetControllerName
,
101 // EFI Component Name 2 Protocol
103 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterStdErrComponentName2
= {
104 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME
) ConSplitterComponentNameGetDriverName
,
105 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME
) ConSplitterStdErrComponentNameGetControllerName
,
110 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterDriverNameTable
[] = {
113 (CHAR16
*) L
"Console Splitter Driver"
121 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterConInControllerNameTable
[] = {
124 (CHAR16
*) L
"Primary Console Input Device"
132 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterSimplePointerControllerNameTable
[] = {
135 (CHAR16
*) L
"Primary Simple Pointer Device"
143 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterAbsolutePointerControllerNameTable
[] = {
146 (CHAR16
*)L
"Primary Absolute Pointer Device"
154 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterConOutControllerNameTable
[] = {
157 (CHAR16
*) L
"Primary Console Output Device"
165 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterStdErrControllerNameTable
[] = {
168 (CHAR16
*) L
"Primary Standard Error Device"
177 Retrieves a Unicode string that is the user readable name of the driver.
179 This function retrieves the user readable name of a driver in the form of a
180 Unicode string. If the driver specified by This has a user readable name in
181 the language specified by Language, then a pointer to the driver name is
182 returned in DriverName, and EFI_SUCCESS is returned. If the driver specified
183 by This does not support the language specified by Language,
184 then EFI_UNSUPPORTED is returned.
186 @param This[in] A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or
187 EFI_COMPONENT_NAME_PROTOCOL instance.
189 @param Language[in] A pointer to a Null-terminated ASCII string
190 array indicating the language. This is the
191 language of the driver name that the caller is
192 requesting, and it must match one of the
193 languages specified in SupportedLanguages. The
194 number of languages supported by a driver is up
195 to the driver writer. Language is specified
196 in RFC 3066 or ISO 639-2 language code format.
198 @param DriverName[out] A pointer to the Unicode string to return.
199 This Unicode string is the name of the
200 driver specified by This in the language
201 specified by Language.
203 @retval EFI_SUCCESS The Unicode string for the Driver specified by
204 This and the language specified by Language was
205 returned in DriverName.
207 @retval EFI_INVALID_PARAMETER Language is NULL.
209 @retval EFI_INVALID_PARAMETER DriverName is NULL.
211 @retval EFI_UNSUPPORTED The driver specified by This does not support
212 the language specified by Language.
217 ConSplitterComponentNameGetDriverName (
218 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
220 OUT CHAR16
**DriverName
223 return LookupUnicodeString2 (
225 This
->SupportedLanguages
,
226 mConSplitterDriverNameTable
,
228 (BOOLEAN
)(This
== &gConSplitterConInComponentName
)
233 Tests whether a controller handle is being managed by a specific driver and
234 the child handle is a child device of the controller.
236 @param ControllerHandle A handle for a controller to test.
237 @param DriverBindingHandle Specifies the driver binding handle for the
239 @param ProtocolGuid Specifies the protocol that the driver specified
240 by DriverBindingHandle opens in its Start()
242 @param ChildHandle A child handle to test.
243 @param ConsumsedGuid Supplies the protocol that the child controller
244 opens on its parent controller.
246 @retval EFI_SUCCESS ControllerHandle is managed by the driver
247 specifed by DriverBindingHandle and ChildHandle
248 is a child of the ControllerHandle.
249 @retval EFI_UNSUPPORTED ControllerHandle is not managed by the driver
250 specifed by DriverBindingHandle.
251 @retval EFI_UNSUPPORTED ChildHandle is not a child of the
256 ConSplitterTestControllerHandles (
257 IN CONST EFI_HANDLE ControllerHandle
,
258 IN CONST EFI_HANDLE DriverBindingHandle
,
259 IN CONST EFI_GUID
*ProtocolGuid
,
260 IN EFI_HANDLE ChildHandle
,
261 IN CONST EFI_GUID
*ConsumsedGuid
267 // here ChildHandle is not an Optional parameter.
269 if (ChildHandle
== NULL
) {
270 return EFI_UNSUPPORTED
;
273 Status
= EfiTestManagedDevice (
278 if (EFI_ERROR (Status
)) {
282 Status
= EfiTestChildHandle (
292 Retrieves a Unicode string that is the user readable name of the controller
293 that is being managed by a driver.
295 This function retrieves the user readable name of the controller specified by
296 ControllerHandle and ChildHandle in the form of a Unicode string. If the
297 driver specified by This has a user readable name in the language specified by
298 Language, then a pointer to the controller name is returned in ControllerName,
299 and EFI_SUCCESS is returned. If the driver specified by This is not currently
300 managing the controller specified by ControllerHandle and ChildHandle,
301 then EFI_UNSUPPORTED is returned. If the driver specified by This does not
302 support the language specified by Language, then EFI_UNSUPPORTED is returned.
304 @param This[in] A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or
305 EFI_COMPONENT_NAME_PROTOCOL instance.
307 @param ControllerHandle[in] The handle of a controller that the driver
308 specified by This is managing. This handle
309 specifies the controller whose name is to be
312 @param ChildHandle[in] The handle of the child controller to retrieve
313 the name of. This is an optional parameter that
314 may be NULL. It will be NULL for device
315 drivers. It will also be NULL for a bus drivers
316 that wish to retrieve the name of the bus
317 controller. It will not be NULL for a bus
318 driver that wishes to retrieve the name of a
321 @param Language[in] A pointer to a Null-terminated ASCII string
322 array indicating the language. This is the
323 language of the driver name that the caller is
324 requesting, and it must match one of the
325 languages specified in SupportedLanguages. The
326 number of languages supported by a driver is up
327 to the driver writer. Language is specified in
328 RFC 3066 or ISO 639-2 language code format.
330 @param ControllerName[out] A pointer to the Unicode string to return.
331 This Unicode string is the name of the
332 controller specified by ControllerHandle and
333 ChildHandle in the language specified by
334 Language from the point of view of the driver
337 @retval EFI_SUCCESS The Unicode string for the user readable name in
338 the language specified by Language for the
339 driver specified by This was returned in
342 @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.
344 @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid
347 @retval EFI_INVALID_PARAMETER Language is NULL.
349 @retval EFI_INVALID_PARAMETER ControllerName is NULL.
351 @retval EFI_UNSUPPORTED The driver specified by This is not currently
352 managing the controller specified by
353 ControllerHandle and ChildHandle.
355 @retval EFI_UNSUPPORTED The driver specified by This does not support
356 the language specified by Language.
361 ConSplitterConInComponentNameGetControllerName (
362 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
363 IN EFI_HANDLE ControllerHandle
,
364 IN EFI_HANDLE ChildHandle OPTIONAL
,
366 OUT CHAR16
**ControllerName
371 Status
= ConSplitterTestControllerHandles (
373 gConSplitterConInDriverBinding
.DriverBindingHandle
,
374 &gEfiSimpleTextInProtocolGuid
,
376 &gEfiConsoleInDeviceGuid
378 if (EFI_ERROR (Status
)) {
382 return LookupUnicodeString2 (
384 This
->SupportedLanguages
,
385 mConSplitterConInControllerNameTable
,
387 (BOOLEAN
)(This
== &gConSplitterConInComponentName
)
392 Retrieves a Unicode string that is the user readable name of the controller
393 that is being managed by a driver.
395 This function retrieves the user readable name of the controller specified by
396 ControllerHandle and ChildHandle in the form of a Unicode string. If the
397 driver specified by This has a user readable name in the language specified by
398 Language, then a pointer to the controller name is returned in ControllerName,
399 and EFI_SUCCESS is returned. If the driver specified by This is not currently
400 managing the controller specified by ControllerHandle and ChildHandle,
401 then EFI_UNSUPPORTED is returned. If the driver specified by This does not
402 support the language specified by Language, then EFI_UNSUPPORTED is returned.
404 @param This[in] A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or
405 EFI_COMPONENT_NAME_PROTOCOL instance.
407 @param ControllerHandle[in] The handle of a controller that the driver
408 specified by This is managing. This handle
409 specifies the controller whose name is to be
412 @param ChildHandle[in] The handle of the child controller to retrieve
413 the name of. This is an optional parameter that
414 may be NULL. It will be NULL for device
415 drivers. It will also be NULL for a bus drivers
416 that wish to retrieve the name of the bus
417 controller. It will not be NULL for a bus
418 driver that wishes to retrieve the name of a
421 @param Language[in] A pointer to a Null-terminated ASCII string
422 array indicating the language. This is the
423 language of the driver name that the caller is
424 requesting, and it must match one of the
425 languages specified in SupportedLanguages. The
426 number of languages supported by a driver is up
427 to the driver writer. Language is specified in
428 RFC 3066 or ISO 639-2 language code format.
430 @param ControllerName[out] A pointer to the Unicode string to return.
431 This Unicode string is the name of the
432 controller specified by ControllerHandle and
433 ChildHandle in the language specified by
434 Language from the point of view of the driver
437 @retval EFI_SUCCESS The Unicode string for the user readable name in
438 the language specified by Language for the
439 driver specified by This was returned in
442 @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.
444 @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid
447 @retval EFI_INVALID_PARAMETER Language is NULL.
449 @retval EFI_INVALID_PARAMETER ControllerName is NULL.
451 @retval EFI_UNSUPPORTED The driver specified by This is not currently
452 managing the controller specified by
453 ControllerHandle and ChildHandle.
455 @retval EFI_UNSUPPORTED The driver specified by This does not support
456 the language specified by Language.
461 ConSplitterSimplePointerComponentNameGetControllerName (
462 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
463 IN EFI_HANDLE ControllerHandle
,
464 IN EFI_HANDLE ChildHandle OPTIONAL
,
466 OUT CHAR16
**ControllerName
471 Status
= ConSplitterTestControllerHandles (
473 gConSplitterSimplePointerDriverBinding
.DriverBindingHandle
,
474 &gEfiSimplePointerProtocolGuid
,
476 &gEfiSimplePointerProtocolGuid
478 if (EFI_ERROR (Status
)) {
482 return LookupUnicodeString2 (
484 This
->SupportedLanguages
,
485 mConSplitterSimplePointerControllerNameTable
,
487 (BOOLEAN
)(This
== &gConSplitterSimplePointerComponentName
)
493 ConSplitterAbsolutePointerComponentNameGetControllerName (
494 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
495 IN EFI_HANDLE ControllerHandle
,
496 IN EFI_HANDLE ChildHandle OPTIONAL
,
498 OUT CHAR16
**ControllerName
503 Retrieves a Unicode string that is the user readable name of the controller
504 that is being managed by an EFI Driver.
507 This - A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
508 ControllerHandle - The handle of a controller that the driver specified by
509 This is managing. This handle specifies the controller
510 whose name is to be returned.
511 ChildHandle - The handle of the child controller to retrieve the name
512 of. This is an optional parameter that may be NULL. It
513 will be NULL for device drivers. It will also be NULL
514 for a bus drivers that wish to retrieve the name of the
515 bus controller. It will not be NULL for a bus driver
516 that wishes to retrieve the name of a child controller.
517 Language - A pointer to RFC3066 language identifier.
518 This is the language of the controller name
519 that that the caller is requesting, and it must match one
520 of the languages specified in SupportedLanguages. The
521 number of languages supported by a driver is up to the
523 ControllerName - A pointer to the Unicode string to return. This Unicode
524 string is the name of the controller specified by
525 ControllerHandle and ChildHandle in the language
526 specified by Language from the point of view of the
527 driver specified by This.
530 EFI_SUCCESS - The Unicode string for the user readable name in the
531 language specified by Language for the driver
532 specified by This was returned in DriverName.
533 EFI_INVALID_PARAMETER - ControllerHandle is not a valid EFI_HANDLE.
534 EFI_INVALID_PARAMETER - ChildHandle is not NULL and it is not a valid
536 EFI_INVALID_PARAMETER - Language is NULL.
537 EFI_INVALID_PARAMETER - ControllerName is NULL.
538 EFI_UNSUPPORTED - The driver specified by This is not currently
539 managing the controller specified by
540 ControllerHandle and ChildHandle.
541 EFI_UNSUPPORTED - The driver specified by This does not support the
542 language specified by Language.
548 Status
= ConSplitterTestControllerHandles (
550 gConSplitterAbsolutePointerDriverBinding
.DriverBindingHandle
,
551 &gEfiAbsolutePointerProtocolGuid
,
553 &gEfiAbsolutePointerProtocolGuid
555 if (EFI_ERROR (Status
)) {
559 return LookupUnicodeString2 (
561 This
->SupportedLanguages
,
562 mConSplitterAbsolutePointerControllerNameTable
,
564 (BOOLEAN
)(This
== &gConSplitterAbsolutePointerComponentName
)
569 Retrieves a Unicode string that is the user readable name of the controller
570 that is being managed by a driver.
572 This function retrieves the user readable name of the controller specified by
573 ControllerHandle and ChildHandle in the form of a Unicode string. If the
574 driver specified by This has a user readable name in the language specified by
575 Language, then a pointer to the controller name is returned in ControllerName,
576 and EFI_SUCCESS is returned. If the driver specified by This is not currently
577 managing the controller specified by ControllerHandle and ChildHandle,
578 then EFI_UNSUPPORTED is returned. If the driver specified by This does not
579 support the language specified by Language, then EFI_UNSUPPORTED is returned.
581 @param This[in] A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or
582 EFI_COMPONENT_NAME_PROTOCOL instance.
584 @param ControllerHandle[in] The handle of a controller that the driver
585 specified by This is managing. This handle
586 specifies the controller whose name is to be
589 @param ChildHandle[in] The handle of the child controller to retrieve
590 the name of. This is an optional parameter that
591 may be NULL. It will be NULL for device
592 drivers. It will also be NULL for a bus drivers
593 that wish to retrieve the name of the bus
594 controller. It will not be NULL for a bus
595 driver that wishes to retrieve the name of a
598 @param Language[in] A pointer to a Null-terminated ASCII string
599 array indicating the language. This is the
600 language of the driver name that the caller is
601 requesting, and it must match one of the
602 languages specified in SupportedLanguages. The
603 number of languages supported by a driver is up
604 to the driver writer. Language is specified in
605 RFC 3066 or ISO 639-2 language code format.
607 @param ControllerName[out] A pointer to the Unicode string to return.
608 This Unicode string is the name of the
609 controller specified by ControllerHandle and
610 ChildHandle in the language specified by
611 Language from the point of view of the driver
614 @retval EFI_SUCCESS The Unicode string for the user readable name in
615 the language specified by Language for the
616 driver specified by This was returned in
619 @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.
621 @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid
624 @retval EFI_INVALID_PARAMETER Language is NULL.
626 @retval EFI_INVALID_PARAMETER ControllerName is NULL.
628 @retval EFI_UNSUPPORTED The driver specified by This is not currently
629 managing the controller specified by
630 ControllerHandle and ChildHandle.
632 @retval EFI_UNSUPPORTED The driver specified by This does not support
633 the language specified by Language.
638 ConSplitterConOutComponentNameGetControllerName (
639 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
640 IN EFI_HANDLE ControllerHandle
,
641 IN EFI_HANDLE ChildHandle OPTIONAL
,
643 OUT CHAR16
**ControllerName
648 Status
= ConSplitterTestControllerHandles (
650 gConSplitterConOutDriverBinding
.DriverBindingHandle
,
651 &gEfiSimpleTextOutProtocolGuid
,
653 &gEfiConsoleOutDeviceGuid
655 if (EFI_ERROR (Status
)) {
659 return LookupUnicodeString2 (
661 This
->SupportedLanguages
,
662 mConSplitterConOutControllerNameTable
,
664 (BOOLEAN
)(This
== &gConSplitterConOutComponentName
)
669 Retrieves a Unicode string that is the user readable name of the controller
670 that is being managed by a driver.
672 This function retrieves the user readable name of the controller specified by
673 ControllerHandle and ChildHandle in the form of a Unicode string. If the
674 driver specified by This has a user readable name in the language specified by
675 Language, then a pointer to the controller name is returned in ControllerName,
676 and EFI_SUCCESS is returned. If the driver specified by This is not currently
677 managing the controller specified by ControllerHandle and ChildHandle,
678 then EFI_UNSUPPORTED is returned. If the driver specified by This does not
679 support the language specified by Language, then EFI_UNSUPPORTED is returned.
681 @param This[in] A pointer to the EFI_COMPONENT_NAME2_PROTOCOL or
682 EFI_COMPONENT_NAME_PROTOCOL instance.
684 @param ControllerHandle[in] The handle of a controller that the driver
685 specified by This is managing. This handle
686 specifies the controller whose name is to be
689 @param ChildHandle[in] The handle of the child controller to retrieve
690 the name of. This is an optional parameter that
691 may be NULL. It will be NULL for device
692 drivers. It will also be NULL for a bus drivers
693 that wish to retrieve the name of the bus
694 controller. It will not be NULL for a bus
695 driver that wishes to retrieve the name of a
698 @param Language[in] A pointer to a Null-terminated ASCII string
699 array indicating the language. This is the
700 language of the driver name that the caller is
701 requesting, and it must match one of the
702 languages specified in SupportedLanguages. The
703 number of languages supported by a driver is up
704 to the driver writer. Language is specified in
705 RFC 3066 or ISO 639-2 language code format.
707 @param ControllerName[out] A pointer to the Unicode string to return.
708 This Unicode string is the name of the
709 controller specified by ControllerHandle and
710 ChildHandle in the language specified by
711 Language from the point of view of the driver
714 @retval EFI_SUCCESS The Unicode string for the user readable name in
715 the language specified by Language for the
716 driver specified by This was returned in
719 @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.
721 @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid
724 @retval EFI_INVALID_PARAMETER Language is NULL.
726 @retval EFI_INVALID_PARAMETER ControllerName is NULL.
728 @retval EFI_UNSUPPORTED The driver specified by This is not currently
729 managing the controller specified by
730 ControllerHandle and ChildHandle.
732 @retval EFI_UNSUPPORTED The driver specified by This does not support
733 the language specified by Language.
738 ConSplitterStdErrComponentNameGetControllerName (
739 IN EFI_COMPONENT_NAME_PROTOCOL
*This
,
740 IN EFI_HANDLE ControllerHandle
,
741 IN EFI_HANDLE ChildHandle OPTIONAL
,
743 OUT CHAR16
**ControllerName
748 Status
= ConSplitterTestControllerHandles (
750 gConSplitterStdErrDriverBinding
.DriverBindingHandle
,
751 &gEfiSimpleTextOutProtocolGuid
,
753 &gEfiStandardErrorDeviceGuid
755 if (EFI_ERROR (Status
)) {
759 return LookupUnicodeString2 (
761 This
->SupportedLanguages
,
762 mConSplitterStdErrControllerNameTable
,
764 (BOOLEAN
)(This
== &gConSplitterStdErrComponentName
)