TianoCore EDK2 master
Loading...
Searching...
No Matches
PrmContextBufferLib.h
Go to the documentation of this file.
1
10#ifndef PRM_CONTEXT_BUFFER_LIB_H_
11#define PRM_CONTEXT_BUFFER_LIB_H_
12
13#include <Base.h>
14#include <PrmContextBuffer.h>
15#include <Uefi.h>
16
17typedef enum {
27
45 IN CONST EFI_GUID *HandlerGuid,
46 IN CONST PRM_MODULE_CONTEXT_BUFFERS *ModuleContextBuffers,
47 OUT CONST PRM_CONTEXT_BUFFER **ContextBuffer
48 );
49
71 IN PRM_GUID_SEARCH_TYPE GuidSearchType,
72 IN CONST EFI_GUID *Guid,
73 OUT CONST PRM_MODULE_CONTEXT_BUFFERS **PrmModuleContextBuffers
74 );
75
94 IN CONST EFI_GUID *PrmHandlerGuid,
95 IN CONST PRM_MODULE_CONTEXT_BUFFERS *PrmModuleContextBuffers OPTIONAL,
96 OUT CONST PRM_CONTEXT_BUFFER **PrmContextBuffer
97 );
98
99#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS FindContextBufferInModuleBuffers(IN CONST EFI_GUID *HandlerGuid, IN CONST PRM_MODULE_CONTEXT_BUFFERS *ModuleContextBuffers, OUT CONST PRM_CONTEXT_BUFFER **ContextBuffer)
EFI_STATUS GetContextBuffer(IN CONST EFI_GUID *PrmHandlerGuid, IN CONST PRM_MODULE_CONTEXT_BUFFERS *PrmModuleContextBuffers OPTIONAL, OUT CONST PRM_CONTEXT_BUFFER **PrmContextBuffer)
PRM_GUID_SEARCH_TYPE
@ ByModuleGuid
@ ByHandlerGuid
EFI_STATUS GetModuleContextBuffers(IN PRM_GUID_SEARCH_TYPE GuidSearchType, IN CONST EFI_GUID *Guid, OUT CONST PRM_MODULE_CONTEXT_BUFFERS **PrmModuleContextBuffers)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213