TianoCore EDK2 master
Loading...
Searching...
No Matches
DevicePathLib.h
Go to the documentation of this file.
1
12#ifndef __DEVICE_PATH_LIB_H__
13#define __DEVICE_PATH_LIB_H__
14
15#define END_DEVICE_PATH_LENGTH (sizeof (EFI_DEVICE_PATH_PROTOCOL))
16
33BOOLEAN
34EFIAPI
37 IN UINTN MaxSize
38 );
39
52UINT8
53EFIAPI
55 IN CONST VOID *Node
56 );
57
70UINT8
71EFIAPI
73 IN CONST VOID *Node
74 );
75
92EFIAPI
94 IN CONST VOID *Node
95 );
96
110EFIAPI
112 IN CONST VOID *Node
113 );
114
133BOOLEAN
134EFIAPI
136 IN CONST VOID *Node
137 );
138
154BOOLEAN
155EFIAPI
157 IN CONST VOID *Node
158 );
159
175BOOLEAN
176EFIAPI
178 IN CONST VOID *Node
179 );
180
199UINT16
200EFIAPI
202 IN OUT VOID *Node,
203 IN UINTN Length
204 );
205
222VOID
223EFIAPI
225 OUT VOID *Node
226 );
227
241UINTN
242EFIAPI
245 );
246
264EFIAPI
267 );
268
293EFIAPI
295 IN CONST EFI_DEVICE_PATH_PROTOCOL *FirstDevicePath OPTIONAL,
296 IN CONST EFI_DEVICE_PATH_PROTOCOL *SecondDevicePath OPTIONAL
297 );
298
325EFIAPI
327 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL,
328 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
329 );
330
353EFIAPI
355 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL,
356 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL
357 );
358
385EFIAPI
387 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
388 OUT UINTN *Size
389 );
390
410EFIAPI
412 IN UINT8 NodeType,
413 IN UINT8 NodeSubType,
414 IN UINT16 NodeLength
415 );
416
430BOOLEAN
431EFIAPI
434 );
435
448EFIAPI
450 IN EFI_HANDLE Handle
451 );
452
475EFIAPI
477 IN EFI_HANDLE Device OPTIONAL,
478 IN CONST CHAR16 *FileName
479 );
480
496CHAR16 *
497EFIAPI
500 IN BOOLEAN DisplayOnly,
501 IN BOOLEAN AllowShortcuts
502 );
503
519CHAR16 *
520EFIAPI
523 IN BOOLEAN DisplayOnly,
524 IN BOOLEAN AllowShortcuts
525 );
526
539EFIAPI
541 IN CONST CHAR16 *TextDeviceNode
542 );
543
556EFIAPI
558 IN CONST CHAR16 *TextDevicePath
559 );
560
561#endif
UINT64 UINTN
UINT8 EFIAPI DevicePathType(IN CONST VOID *Node)
UINT16 EFIAPI SetDevicePathNodeLength(IN OUT VOID *Node, IN UINTN Length)
UINTN EFIAPI DevicePathNodeLength(IN CONST VOID *Node)
UINT8 EFIAPI DevicePathSubType(IN CONST VOID *Node)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePathNode(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI FileDevicePath(IN EFI_HANDLE Device OPTIONAL, IN CONST CHAR16 *FileName)
CHAR16 *EFIAPI ConvertDeviceNodeToText(IN CONST EFI_DEVICE_PATH_PROTOCOL *DeviceNode, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
BOOLEAN EFIAPI IsDevicePathEnd(IN CONST VOID *Node)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI NextDevicePathNode(IN CONST VOID *Node)
BOOLEAN EFIAPI IsDevicePathValid(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN UINTN MaxSize)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI DevicePathFromHandle(IN EFI_HANDLE Handle)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePathInstance(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI CreateDeviceNode(IN UINT8 NodeType, IN UINT8 NodeSubType, IN UINT16 NodeLength)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *FirstDevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *SecondDevicePath OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI GetNextDevicePathInstance(IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size)
CHAR16 *EFIAPI ConvertDevicePathToText(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
UINTN EFIAPI GetDevicePathSize(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI DuplicateDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI ConvertTextToDevicePath(IN CONST CHAR16 *TextDevicePath)
BOOLEAN EFIAPI IsDevicePathEndType(IN CONST VOID *Node)
BOOLEAN EFIAPI IsDevicePathMultiInstance(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
VOID EFIAPI SetDevicePathEndNode(OUT VOID *Node)
BOOLEAN EFIAPI IsDevicePathEndInstance(IN CONST VOID *Node)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI ConvertTextToDeviceNode(IN CONST CHAR16 *TextDeviceNode)
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33