TianoCore EDK2
master
Loading...
Searching...
No Matches
DevicePathUtilitiesDxeSmm.c
Go to the documentation of this file.
1
17
#include "
UefiDevicePathLib.h
"
18
32
EFI_DEVICE_PATH_PROTOCOL
*
33
EFIAPI
34
DevicePathFromHandle
(
35
IN
EFI_HANDLE
Handle
36
)
37
{
38
EFI_DEVICE_PATH_PROTOCOL
*DevicePath;
39
EFI_STATUS
Status;
40
41
Status =
gBS
->HandleProtocol (
42
Handle,
43
&gEfiDevicePathProtocolGuid,
44
(VOID *)&DevicePath
45
);
46
if
(EFI_ERROR (Status)) {
47
DevicePath =
NULL
;
48
}
49
50
return
DevicePath;
51
}
DevicePathFromHandle
EFI_DEVICE_PATH_PROTOCOL *EFIAPI DevicePathFromHandle(IN EFI_HANDLE Handle)
Definition:
DevicePathUtilitiesDxeSmm.c:34
NULL
#define NULL
Definition:
Base.h:319
IN
#define IN
Definition:
Base.h:279
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
gBS
EFI_BOOT_SERVICES * gBS
Definition:
UefiBootServicesTableLib.c:17
UefiDevicePathLib.h
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
MdePkg
Library
UefiDevicePathLib
DevicePathUtilitiesDxeSmm.c
Generated on Fri Nov 15 2024 18:01:18 for TianoCore EDK2 by
1.9.6