Find the first instance of this Protocol in the system and return it's interface. @param ProtocolGuid Provides the protocol to search for @param Interface On return, a pointer to the first interface that matches ProtocolGuid @retval EFI_SUCCESS A protocol instance matching ProtocolGuid was found @retval EFI_NOT_FOUND No protocol ins
| 30 | |
| 31 | **/ |
| 32 | EFI_STATUS |
| 33 | EfiLibLocateProtocol ( |
| 34 | IN EFI_GUID *ProtocolGuid, |
| 35 | OUT VOID **Interface |
| 36 | ) |
| 37 | { |
| 38 | EFI_STATUS Status; |
| 39 | |
| 40 | Status = gBS->LocateProtocol ( |
| 41 | ProtocolGuid, |
| 42 | NULL, |
| 43 | (VOID **) Interface |
| 44 | ); |
| 45 | return Status; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 |
no outgoing calls
no test coverage detected