#include <nitro/mb/mb_fake_child.h>
typedef void (*MBFakeScanCallbackFunc)( u16 type, void* arg );
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.
| Argument | 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 it Passes | |
MB_FAKESCAN_PARENT_FOUND |
MBFakeScanCallback*. |
|
MB_FAKESCAN_API_ERROR |
MBFakeScanErrorCallback*. |
|
MB_FAKESCAN_END_SCAN |
Always NULL. | |
None.
MB_FakeStartScanParent,
MB_FakeEndScan,
MBFakeScanCallback,
MBFakeScanErrorCallback
11/25/2004 Initial version.