MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / EfiLibLocateProtocol

Function EfiLibLocateProtocol

rEFIt_UEFI/libeg/BmLib.cpp:32–46  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

30
31**/
32EFI_STATUS
33EfiLibLocateProtocol (
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

Callers 3

GetAreaMethod · 0.70
DrawWithoutComposeMethod · 0.70
egInitScreenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected