Efi_pxe_base_code.stop(), Stop(), Func – Intel Extensible Firmware Interface User Manual

Page 650: Efi_pxe_base_code.stop() summary, Prototype, Parameters, Description, Status codes returned

Advertising
background image

Extensible Firmware Interface Specification

15-44

12/01/02

Version 1.10

EFI_PXE_BASE_CODE.Stop()

Summary

Disables the use of the PXE Base Code Protocol functions.

Prototype

EFI_STATUS

(EFIAPI *EFI_PXE_BASE_CODE_STOP) (

IN

EFI_PXE_BASE_CODE

*This

);

Parameters

This

Pointer to the

EFI_PXE_BASE_CODE

instance.

Description

This function stops all activity on the network device. All the resources allocated in

Start()

are

released, the

Started

field of the

EFI_PXE_BASE_CODE_MODE

structure is set to

FALSE

and

EFI_SUCCESS

is returned. If the

Started

field of the

EFI_PXE_BASE_CODE_MODE

structure is already

FALSE

, then

EFI_NOT_STARTED

will be returned.

Status Codes Returned

EFI_SUCCESS

The PXE Base Code Protocol was stopped.

EFI_NOT_STARTED

The PXE Base Code Protocol is already in the stopped state.

EFI_INVALID_PARAMETER

One of the parameters is not valid.

EFI_DEVICE_ERROR

The network device encountered an error during this operation.

Advertising