MBFakeScanCallbackFunc

Definitions

#include <nitro/mb/mb_fake_child.h>

typedef void (*MBFakeScanCallbackFunc)( u16 type, void* arg );

Arguments

Arguments Description
type These are the types of callbacks:
MB_FAKESCAN_PARENT_FOUND Reports that a new parent is discovered and the parent information is updated.
MB_FAKESCAN_PARENT_LOST Reports that a parent is lost or that parent information is invalidated.
MB_FAKESCAN_API_ERROR Reports that wireless communications cannot be used or that an error occurred because scanning is impossible.
MB_FAKESCAN_END_SCAN The callback that reports that scanning was ended by MB_FakeEndScan.
arg The pointers to the structures passed to the callback function.
The Type of Callback The structure to be passed
MB_FAKESCAN_PARENT_FOUND
MB_FAKESCAN_PARENT_LOST
MBFakeScanCallback*.
MB_FAKESCAN_API_ERROR MBFakeScanErrorCallback*.
MB_FAKESCAN_END_SCAN Always NULL.

Return Values

None.

Description

These are the callback types used to announce the status between the time the MB_FakeStartScanParent function begins scanning for multiboot parents and the time the MB_FakeEndScan function stops scanning.

See Also

MB_FakeStartScanParent, MB_FakeEndScan, MBFakeScanCallback, MBFakeScanErrorCallback

Revision History

11/25/2004 Initial version.