OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcForceResolution.h File Reference
#include <Uefi.h>

Go to the source code of this file.

Data Structures

struct  OC_FORCE_RESOLUTION_PROTOCOL_
 

Macros

#define OC_FORCE_RESOLUTION_PROTOCOL_GUID
 

Typedefs

typedef struct OC_FORCE_RESOLUTION_PROTOCOL_ OC_FORCE_RESOLUTION_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * OC_FORCE_RESOLUTION_SET_RESOLUTION) (IN OUT OC_FORCE_RESOLUTION_PROTOCOL *This, IN UINT32 Width OPTIONAL, IN UINT32 Height OPTIONAL)
 

Variables

EFI_GUID gOcForceResolutionProtocolGuid
 

Detailed Description

Copyright (C) 2020, Goldfish64. 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 OcForceResolution.h.

Macro Definition Documentation

◆ OC_FORCE_RESOLUTION_PROTOCOL_GUID

#define OC_FORCE_RESOLUTION_PROTOCOL_GUID
Value:
{ 0xBC7EC589, 0x2390, 0x4DA3, \
{ 0x80, 0x25, 0x77, 0xDA, 0xD3, 0x4F, 0x36, 0x09 } }

Definition at line 24 of file OcForceResolution.h.

Typedef Documentation

◆ OC_FORCE_RESOLUTION_PROTOCOL

◆ OC_FORCE_RESOLUTION_SET_RESOLUTION

typedef EFI_STATUS(EFIAPI * OC_FORCE_RESOLUTION_SET_RESOLUTION) (IN OUT OC_FORCE_RESOLUTION_PROTOCOL *This, IN UINT32 Width OPTIONAL, IN UINT32 Height OPTIONAL)

Force the specified resolution and reconnect the controller. Specifying zero for Width and Height will pull the maximum supported resolution by the EDID instead.

Parameters
[in,out]ThisProtocol instance.
[in]WidthDesired screen width.
[in]HeightDesired screen height.
Return values
EFI_SUCCESSResolution successfully forced.
EFI_UNSUPPORTEDThe video adapter or the display are not supported.
EFI_ALREADY_STARTEDThe specified resolution is already supported.

Definition at line 44 of file OcForceResolution.h.

Variable Documentation

◆ gOcForceResolutionProtocolGuid

EFI_GUID gOcForceResolutionProtocolGuid
extern