# WBT_UnregisterBlock

## C Specification

  `#include <nitro/wbt.h>`
  `WBTBlockInfoList *WBT_UnregisterBlock(u32 block_id);`

## Arguments

block_id | The `ID` of a block that is already registered.

## Return Values

If the specified block `ID` is currently registered, this function unregisters the block and returns the pointer to its structure.
Otherwise, this function does nothing and returns `NULL`.

## Description

This function removes from the WBT internal block list the data block that is currently registered with the `ID` specified. The block list structure and the data buffer that were specified at the time of registration are returned to the user side.

## See Also

`WBT_RegisterBlock, WBTBlockInfoList`

## Revision History

09/21/2004 Initial version

CONFIDENTIAL