beautypg.com

Efi_uga_io_protocol.deletedevice() – Intel Extensible Firmware Interface User Manual

Page 332

background image

Extensible Firmware Interface Specification

10-38

12/01/02

Version 1.10

EFI_UGA_IO_PROTOCOL.DeleteDevice()

Summary

Deletes a dynamically allocated child

UGA_DEVICE

object that was allocated using

CreateDevice()

.

Prototype

typedef

EFI_STATUS

(EFIAPI *EFI_UGA_IO_DELETE_DEVICE) (

IN EFI_UGA_IO_PROTOCOL

*This,

IN UGA_DEVICE

*Device

);

Parameters

This

The

EFI_UGA_IO_PROTOCOL

instance. Type

EFI_UGA_IO_PROTOCOL

is defined in Section 10.7.

Device

The

Device

points to a

UGA_DEVICE

object that was dynamically

allocated via a

CreateDevice()

call.

Description

An object that was created via a

CreateDevice()

is destroyed.

Status Codes Returned

EFI_SUCCESS

The

Device

was deleted.

EFI_INVALID_PARAMETER

The

Device

was not allocated via

CreateDevice()

.