# MB_FakeSetCompareGGIDCallback

## Syntax

  `#include <nitro/mb/mb_fake_child.h>`
  `void MB_FakeSetCompareGGIDCallback(MBFakeCompareGGIDCallbackFunc callback);`

## Arguments

callback | Sets the callback function that determines whether the beacon obtained by scanning matches the search target. This callback is called from within the interrupt handler.

## Return Values

None.

## Description

This function sets the callback function for executing the user-specific filtering process when scanning for the beacon of a multiboot parent.
Normally, the search target is filtered by only a single GGID set by the `MB_FakeStartScanParent` function. To specify arbitrary search conditions, this function must be used.

If you do not call this function or you explicitly specify `NULL`, the beacons to search will be filtered by whether they match the GGID set with the `MB_FakeStartScanParent` function. This is the default operation.

If a callback other than `NULL` is specified with this function, that callback's return values will always be accepted as the only results; the GGID set with the `MB_FakeStartScanParent` function will be ignored.

## See Also

``MB_FakeStartScanParent`, MBFakeCompareGGIDCallbackFunc
`

## Revision History

2007/04/18 Initial version.

CONFIDENTIAL