OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleRemovableMedia.h
Go to the documentation of this file.
1
47#ifndef APPLE_REMOVABLE_MEDIA_H
48#define APPLE_REMOVABLE_MEDIA_H
49
50// APPLE_REMOVABLE_MEDIA_PROTOCOL_GUID
52#define APPLE_REMOVABLE_MEDIA_PROTOCOL_GUID \
53 { 0x2EA9743A, 0x23D9, 0x425E, \
54 { 0x87, 0x2C, 0xF6, 0x15, 0xAA, 0x19, 0x57, 0x88 } }
55
56#define APPLE_REMOVABLE_MEDIA_PROTOCOL_REVISION 0x00000001
57
59
60// APPLE_REMOVABLE_MEDIA_EJECT
61
68typedef
69EFI_STATUS
72 );
73
74// APPLE_REMOVABLE_MEDIA_INJECT
75
82typedef
83EFI_STATUS
86 );
87
88// APPLE_REMOVABLE_MEDIA_ALLOW_REMOVAL
89
97typedef
98EFI_STATUS
101 );
102
103// APPLE_REMOVABLE_MEDIA_PREVENT_REMOVAL
104
113typedef
114EFI_STATUS
117 );
118
119// APPLE_REMOVABLE_MEDIA_DETECT_TRAY_STATE
120
128typedef
129EFI_STATUS
132 OUT BOOLEAN *TrayOpen
133 );
134
135//
136// Protocol definition
137//
147
149
150#endif // APPLE_REMOVABLE_MEDIA_H
EFI_STATUS(EFIAPI * APPLE_REMOVABLE_MEDIA_DETECT_TRAY_STATE)(IN APPLE_REMOVABLE_MEDIA_PROTOCOL *This, OUT BOOLEAN *TrayOpen)
EFI_GUID gAppleRemovableMediaProtocolGuid
EFI_STATUS(EFIAPI * APPLE_REMOVABLE_MEDIA_INJECT)(IN APPLE_REMOVABLE_MEDIA_PROTOCOL *This)
struct APPLE_REMOVABLE_MEDIA_PROTOCOL APPLE_REMOVABLE_MEDIA_PROTOCOL
EFI_STATUS(EFIAPI * APPLE_REMOVABLE_MEDIA_PREVENT_REMOVAL)(IN APPLE_REMOVABLE_MEDIA_PROTOCOL *This)
EFI_STATUS(EFIAPI * APPLE_REMOVABLE_MEDIA_ALLOW_REMOVAL)(IN APPLE_REMOVABLE_MEDIA_PROTOCOL *This)
EFI_STATUS(EFIAPI * APPLE_REMOVABLE_MEDIA_EJECT)(IN APPLE_REMOVABLE_MEDIA_PROTOCOL *This)
APPLE_REMOVABLE_MEDIA_EJECT Eject
APPLE_REMOVABLE_MEDIA_ALLOW_REMOVAL AllowRemoval
APPLE_REMOVABLE_MEDIA_INJECT Inject
APPLE_REMOVABLE_MEDIA_DETECT_TRAY_STATE DetectTrayState
APPLE_REMOVABLE_MEDIA_PREVENT_REMOVAL PreventRemoval