# CTRDG_CheckPulledOut

## C Specification

      #include <nitro/ctrdg.h>

      void CTRDG_CheckPulledOut( void );

## Arguments

None.

## Return Values

None.

## Description

Directly executes Game Pak removal detection from the ARM9. Normally the ARM9 does not need this detection process, since the ARM7 periodically performs the detection process and posts notification of detection via the PXI. However, by calling this function you can immediately determine if the Game Card has been removed without the delay inherent in waiting for notification. When Game Pak removal has been detected, this function internally calls the user callback function and the CTRDG_TerminateForPulledOut function. This is the same process that occurs as when receiving notification from ARM7.
In order to use this function, you must have already called the `CTRDG_Init` function.

## See Also

`CTRDG_Init, CTRDG_IsPulledOut, CTRDG_SetPulledOutCallback, CTRDG_TerminateForPulledOut`

## Revision History

02/07/2005 Initial version.

CONFIDENTIAL