OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcInterface.h File Reference

Go to the source code of this file.

Data Structures

struct  OC_INTERFACE_PROTOCOL_
 

Macros

#define OC_INTERFACE_REVISION   9
 
#define OC_INTERFACE_PROTOCOL_GUID
 

Typedefs

typedef struct OC_INTERFACE_PROTOCOL_ OC_INTERFACE_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * OC_POPULATE_CONTEXT) (IN OC_INTERFACE_PROTOCOL *This, IN OC_STORAGE_CONTEXT *Storage, IN OUT OC_PICKER_CONTEXT *Picker)
 

Variables

EFI_GUID gOcInterfaceProtocolGuid
 

Detailed Description

Copyright (C) 2019, vit9696. All rights reserved.

All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file OcInterface.h.

Macro Definition Documentation

◆ OC_INTERFACE_PROTOCOL_GUID

#define OC_INTERFACE_PROTOCOL_GUID
Value:
{ 0x53027CDF, 0x3A89, 0x4255, \
{ 0xAE, 0x29, 0xD6, 0x66, 0x6E, 0xFE, 0x99, 0xEF } }

The GUID of the OC_INTERFACE_PROTOCOL.

Definition at line 32 of file OcInterface.h.

◆ OC_INTERFACE_REVISION

#define OC_INTERFACE_REVISION   9

Current supported interface protocol revision. It is changed every time the contract changes.

WARNING: This protocol is currently undergoing active design.

Definition at line 27 of file OcInterface.h.

Typedef Documentation

◆ OC_INTERFACE_PROTOCOL

The forward declaration for the protocol for the OC_INTERFACE_PROTOCOL.

Definition at line 39 of file OcInterface.h.

◆ OC_POPULATE_CONTEXT

typedef EFI_STATUS(EFIAPI * OC_POPULATE_CONTEXT) (IN OC_INTERFACE_PROTOCOL *This, IN OC_STORAGE_CONTEXT *Storage, IN OUT OC_PICKER_CONTEXT *Picker)

Update context member functions with custom interface overrides.

Parameters
[in]ThisThis protocol.
[in]StorageFile system access storage.
[in,out]PickerUser interface context to be updated.
Return values
EFI_SUCCESSon successful context update.

Definition at line 51 of file OcInterface.h.

Variable Documentation

◆ gOcInterfaceProtocolGuid

EFI_GUID gOcInterfaceProtocolGuid
extern

A global variable storing the GUID of the OC_INTERFACE_PROTOCOL.