1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>WBT_UnregisterBlock</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">WBT_UnregisterBlock <img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/wbt.h></CODE><BR> 20 <BR> 21 <CODE><A href="../wbt_block_info_list_type.html">WBTBlockInfoList</A> *WBT_UnregisterBlock(u32 block_id);</CODE><br> 22 <br> 23 </dd> 24</dl> 25<h2>Arguments</h2> 26<p> 27<TABLE border="1" width="100%"> 28 <TBODY> 29 <TR> 30 <TD width="13%"><EM><STRONG>block_id</STRONG></EM></TD> 31 <TD width="87%">The <CODE>ID</CODE> of a block that is already registered.</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35</p> 36 37<h2>Return Values</h2> 38<p>If the specified block <CODE>ID</CODE> is currently registered, this function unregisters the block and returns the pointer to its structure.<br> Otherwise, this function does nothing and returns <CODE>NULL</CODE>.</p> 39 40<H2>Description</H2> 41<p>This function removes the data block that is currently registered with the <CODE>ID</CODE> 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. <br> 42</p> 43<H2>See Also</H2> 44<p> 45<A href="WBT_RegisterBlock.html">WBT_RegisterBlock</A>, <br> <A href="../wbt_block_info_list_type.html">WBTBlockInfoList</A> 46</p> 47<H2>Revision History</H2> 48<P> 492004/09/21 Initial version. 50</P> 51<hr><p>CONFIDENTIAL</p></body> 52</html> 53