# WBT_UnregisterBlock

## Syntax

  `#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 the data block that is currently registered with the `ID` specified from the WBT internal block list. 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

2004/09/21 Initial version.

CONFIDENTIAL