Add missing '\n's to Wine traces.

oldstable
Francois Gouget 2006-10-05 11:11:03 +02:00 committed by Alexandre Julliard
parent a9b53ef6b2
commit 82babbee0b
39 changed files with 53 additions and 53 deletions

View File

@ -741,7 +741,7 @@ static IClassFactory RegistrarCF = { &IRegistrarCFVtbl };
*/
HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, LPVOID *ppvObject)
{
TRACE("(%s %s %p)", debugstr_guid(clsid), debugstr_guid(riid), ppvObject);
TRACE("(%s %s %p)\n", debugstr_guid(clsid), debugstr_guid(riid), ppvObject);
if(IsEqualGUID(&CLSID_ATLRegistrar, clsid)) {
*ppvObject = &RegistrarCF;

View File

@ -155,7 +155,7 @@ static BOOL query_video_device(int devnum, char *name, int namesize, char *versi
/* errno 515 is used by some webcam drivers for unknown IOICTL command */
if (errno != EINVAL && errno != 515)
ERR("%s: Querying failed: %s\n", device, strerror(errno));
else ERR("%s: Querying failed: Not a V4L compatible device", device);
else ERR("%s: Querying failed: Not a V4L compatible device\n", device);
close(fd);
return FALSE;
}

View File

@ -243,7 +243,7 @@ TAB_GetCurFocus (const TAB_INFO *infoPtr)
{
if (infoPtr->uFocus<0)
{
FIXME("we have not to return negative value");
FIXME("we have not to return negative value\n");
return 0;
}
return infoPtr->uFocus;
@ -2875,7 +2875,7 @@ static LRESULT TAB_DeleteItem (TAB_INFO *infoPtr, INT iItem)
if (iItem <= infoPtr->iHotTracked)
{
/* When tabs move left/up, the hot track item may change */
FIXME("Recalc hot track");
FIXME("Recalc hot track\n");
}
}
Free(oldItems);

View File

@ -2687,7 +2687,7 @@ PRINTDLG_PS_ChangePaperPrev(PageSetupDataA *pda)
}
x = (pda->rtDrawRect.right + pda->rtDrawRect.left - width) / 2;
y = (pda->rtDrawRect.bottom + pda->rtDrawRect.top - height) / 2;
TRACE("rtDrawRect(%ld, %ld, %ld, %ld) x=%ld, y=%ld, w=%ld, h=%ld",
TRACE("rtDrawRect(%ld, %ld, %ld, %ld) x=%ld, y=%ld, w=%ld, h=%ld\n",
pda->rtDrawRect.left, pda->rtDrawRect.top, pda->rtDrawRect.right, pda->rtDrawRect.bottom,
x, y, width, height);
@ -3110,7 +3110,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
memcpy(&pda->curdlg, pda->dlga, sizeof(pda->curdlg));
hDrawWnd = GetDlgItem(hDlg, rct1);
TRACE("set property to %p", pda);
TRACE("set property to %p\n", pda);
SetPropA(hDlg, "__WINE_PAGESETUPDLGDATA", pda);
SetPropA(hDrawWnd, "__WINE_PAGESETUPDLGDATA", pda);
GetWindowRect(hDrawWnd, &pda->rtDrawRect); /* Calculating rect in client coordinates where paper draws */
@ -3196,7 +3196,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
pda->curdlg.ptPaperSize.x = tmp;
}
} else
WARN("GlobalLock(pda->pdlg.hDevMode) fail? hDevMode=%p", pda->pdlg.hDevMode);
WARN("GlobalLock(pda->pdlg.hDevMode) fail? hDevMode=%p\n", pda->pdlg.hDevMode);
/* Drawing paper prev */
PRINTDLG_PS_ChangePaperPrev(pda);
return TRUE;

View File

@ -222,7 +222,7 @@ BOOL WINAPI CryptQueryObject(DWORD dwObjectType, const void* pvObject,
DWORD* pdwFormatType, HCERTSTORE* phCertStore, HCRYPTMSG* phMsg,
const void** ppvContext)
{
FIXME( "%08x %p %08x %08x %08x %p %p %p %p %p %p", dwObjectType,
FIXME( "%08x %p %08x %08x %08x %p %p %p %p %p %p\n", dwObjectType,
pvObject, dwExpectedContentTypeFlags, dwExpectedFormatTypeFlags,
dwFlags, pdwMsgAndCertEncodingType, pdwContentType, pdwFormatType,
phCertStore, phMsg, ppvContext);

View File

@ -72,7 +72,7 @@ static HRESULT WINAPI IDirect3DPixelShader8Impl_GetDevice(IDirect3DPixelShader8
IWineD3DPixelShader_GetDevice(This->wineD3DPixelShader, &myDevice);
IWineD3DDevice_GetParent(myDevice, (IUnknown **)ppDevice);
IWineD3DDevice_Release(myDevice);
TRACE("(%p) returing (%p)", This, *ppDevice);
TRACE("(%p) returing (%p)\n", This, *ppDevice);
return D3D_OK;
}

View File

@ -75,7 +75,7 @@ static HRESULT WINAPI IDirect3DVertexShader8Impl_GetDevice(IDirect3DVertexShader
} else {
*ppDevice = NULL;
}
TRACE("(%p) returing (%p)", This, *ppDevice);
TRACE("(%p) returing (%p)\n", This, *ppDevice);
return hr;
}

View File

@ -251,7 +251,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateCubeTexture(LPDIRECT3DDEVICE9 iface,
IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
HRESULT hr = D3D_OK;
TRACE("(%p) : ELen(%d) Lvl(%d) Usage(%ld) fmt(%u), Pool(%d) Shared(%p)" , This, EdgeLength, Levels, Usage, Format, Pool, pSharedHandle);
TRACE("(%p) : ELen(%d) Lvl(%d) Usage(%ld) fmt(%u), Pool(%d) Shared(%p)\n", This, EdgeLength, Levels, Usage, Format, Pool, pSharedHandle);
/* Allocate the storage for the device */
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object));

View File

@ -73,7 +73,7 @@ static HRESULT WINAPI IDirect3DPixelShader9Impl_GetDevice(LPDIRECT3DPIXELSHADER9
IWineD3DPixelShader_GetDevice(This->wineD3DPixelShader, &myDevice);
IWineD3DDevice_GetParent(myDevice, (IUnknown **)ppDevice);
IWineD3DDevice_Release(myDevice);
TRACE("(%p) returing (%p)", This, *ppDevice);
TRACE("(%p) returing (%p)\n", This, *ppDevice);
return D3D_OK;
}

View File

@ -267,7 +267,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateVertexDeclaration(LPDIRECT3DDEVICE9
TRACE("(%p) : Relay\n", iface);
if (NULL == ppDecl) {
WARN("(%p) : Caller passed NULL As ppDecl, returning D3DERR_INVALIDCALL",This);
WARN("(%p) : Caller passed NULL As ppDecl, returning D3DERR_INVALIDCALL\n",This);
return D3DERR_INVALIDCALL;
}
/* Allocate the storage for the device */

View File

@ -76,7 +76,7 @@ static HRESULT WINAPI IDirect3DVertexShader9Impl_GetDevice(LPDIRECT3DVERTEXSHADE
} else {
*ppDevice = NULL;
}
TRACE("(%p) returing (%p)", This, *ppDevice);
TRACE("(%p) returing (%p)\n", This, *ppDevice);
return hr;
}

View File

@ -168,7 +168,7 @@ IDirect3DDeviceImpl_7_QueryInterface(IDirect3DDevice7 *iface,
/* Unknown interface */
else
{
ERR("(%p)->(%s, %p): No interface found", This, debugstr_guid(refiid), obj);
ERR("(%p)->(%s, %p): No interface found\n", This, debugstr_guid(refiid), obj);
return E_NOINTERFACE;
}

View File

@ -846,7 +846,7 @@ DllMain(HINSTANCE hInstDLL,
}
else
{
ERR("Unknown default surface type. Supported are:\n gdi, opengl");
ERR("Unknown default surface type. Supported are:\n gdi, opengl\n");
}
}
}

View File

@ -600,7 +600,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR
TRACE_(dmfile)(" - dwSize: %lu\n", dwSize);
TRACE_(dmfile)(" - cnt: %lu (%lu / %lu)\n", cnt / dwSize, (Chunk.dwSize - sizeof(DWORD)), dwSize);
if (cnt % dwSize != 0) {
ERR("Invalid Array Size");
ERR("Invalid Array Size\n");
return E_FAIL;
}
cnt /= dwSize;
@ -616,7 +616,7 @@ static HRESULT IDirectMusicStyle8Impl_IPersistStream_ParsePartList (LPPERSISTSTR
TRACE_(dmfile)(" - dwSize: %lu\n", dwSize);
TRACE_(dmfile)(" - cnt: %lu (%lu / %lu)\n", cnt / dwSize, (Chunk.dwSize - sizeof(DWORD)), dwSize);
if (cnt % dwSize != 0) {
ERR("Invalid Array Size");
ERR("Invalid Array Size\n");
return E_FAIL;
}
cnt /= dwSize;

View File

@ -1595,7 +1595,7 @@ static void update_font_info(void)
return;
}
}
FIXME("there is no font defaults for lcid %04lx/ansi_cp %u", lcid, ansi_cp);
FIXME("there is no font defaults for lcid %04lx/ansi_cp %u\n", lcid, ansi_cp);
}
/*************************************************************

View File

@ -508,7 +508,7 @@ LONG WINAPI LPropCompareProp(LPSPropValue lpPropLeft, LPSPropValue lpPropRight)
return memcmp(lpPropLeft->Value.lpguid, lpPropRight->Value.lpguid,
sizeof(GUID));
}
FIXME("Unhandled property type %ld", PROP_TYPE(lpPropLeft->ulPropTag));
FIXME("Unhandled property type %ld\n", PROP_TYPE(lpPropLeft->ulPropTag));
return 0;
}

View File

@ -90,18 +90,18 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
switch (message->lpRecips[i].ulRecipClass)
{
case MAPI_ORIG:
TRACE( "From: %s", debugstr_a(address) );
TRACE( "From: %s\n", debugstr_a(address) );
break;
case MAPI_TO:
TRACE( "To: %s", debugstr_a(address) );
TRACE( "To: %s\n", debugstr_a(address) );
to_size += lstrlenA( address ) + 1;
break;
case MAPI_CC:
TRACE( "Cc: %s", debugstr_a(address) );
TRACE( "Cc: %s\n", debugstr_a(address) );
cc_size += lstrlenA( address ) + 1;
break;
case MAPI_BCC:
TRACE( "Bcc: %s", debugstr_a(address) );
TRACE( "Bcc: %s\n", debugstr_a(address) );
bcc_size += lstrlenA( address ) + 1;
break;
default:

View File

@ -820,7 +820,7 @@ CMC_return_code WINAPI cmc_query_configuration(
CMC_buffer reference,
CMC_extension *config_extensions)
{
FIXME("stub");
FIXME("stub\n");
return CMC_E_NOT_SUPPORTED;
}

View File

@ -1428,7 +1428,7 @@ void VFWAPI ICSeqCompressFrameEnd(PCOMPVARS pc)
DWORD ret;
TRACE("(%p)\n", pc);
ret = ICSendMessage(pc->hic, ICM_COMPRESS_END, 0, 0);
TRACE(" -- %lx", ret);
TRACE(" -- %lx\n", ret);
HeapFree(GetProcessHeap(), 0, pc->lpbiIn);
HeapFree(GetProcessHeap(), 0, pc->lpBitsPrev);
HeapFree(GetProcessHeap(), 0, pc->lpBitsOut);

View File

@ -794,7 +794,7 @@ UCHAR WINAPI Netbios(PNCB ncb)
ncb->ncb_retcode = ncb->ncb_cmd_cplt = ret = nbEnum(ncb);
else if (cmd == NCBADDNAME)
{
FIXME("NCBADDNAME: stub, returning success");
FIXME("NCBADDNAME: stub, returning success\n");
ncb->ncb_retcode = ncb->ncb_cmd_cplt = ret = NRC_GOODRET;
}
else

View File

@ -1928,7 +1928,7 @@ static HRESULT WINAPI OLEPictureImpl_GetTypeInfoCount(
IDispatch* iface,
unsigned int* pctinfo)
{
TRACE("(%p)", pctinfo);
TRACE("(%p)\n", pctinfo);
*pctinfo = 1;

View File

@ -775,7 +775,7 @@ RPC_STATUS RPC_ENTRY DceErrorInqTextW (RPC_STATUS e, unsigned short *buffer)
NULL, RPC_S_NOT_RPC_ERROR, 0, buffer, MAX_RPC_ERROR_TEXT, NULL);
if (!count)
{
ERR ("Failed to translate error");
ERR ("Failed to translate error\n");
return RPC_S_INVALID_ARG;
}
}
@ -794,7 +794,7 @@ RPC_STATUS RPC_ENTRY DceErrorInqTextA (RPC_STATUS e, unsigned char *buffer)
if (!WideCharToMultiByte(CP_ACP, 0, bufferW, -1, (LPSTR)buffer, MAX_RPC_ERROR_TEXT,
NULL, NULL))
{
ERR ("Failed to translate error");
ERR ("Failed to translate error\n");
status = RPC_S_INVALID_ARG;
}
}

View File

@ -1201,10 +1201,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_MakeSignature(PCtxtHandle phContext, ULONG
return SEC_E_INVALID_HANDLE;
if(fQOP)
FIXME("Ignoring fQOP 0x%08lx", fQOP);
FIXME("Ignoring fQOP 0x%08lx\n", fQOP);
if(MessageSeqNo)
FIXME("Ignoring MessageSeqNo");
FIXME("Ignoring MessageSeqNo\n");
if(!pMessage || !pMessage->pBuffers || pMessage->cBuffers < 2 ||
pMessage->pBuffers[0].BufferType != SECBUFFER_TOKEN ||

View File

@ -669,7 +669,7 @@ SetupDiCreateDeviceInfoListExW(const GUID *ClassGuid,
if (MachineName != NULL)
{
FIXME("remote support is not implemented");
FIXME("remote support is not implemented\n");
SetLastError(ERROR_INVALID_MACHINENAME);
return (HDEVINFO)INVALID_HANDLE_VALUE;
}
@ -752,7 +752,7 @@ BOOL WINAPI SetupDiCreateDeviceInfoW(
debugstr_guid(ClassGuid), debugstr_w(DeviceDescription),
hwndParent, CreationFlags, DeviceInfoData);
FIXME("stub");
FIXME("stub\n");
return FALSE;
}
@ -1048,7 +1048,7 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(
PCWSTR machine,
PVOID reserved)
{
FIXME("stub");
FIXME("stub\n");
return FALSE;
}

View File

@ -3873,7 +3873,7 @@ BOOL WINAPI IsOS(DWORD feature)
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOA);
if(!GetVersionExA(&osvi)) {
ERR("GetVersionEx failed");
ERR("GetVersionEx failed\n");
return FALSE;
}

View File

@ -1123,7 +1123,7 @@ HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx *ibind, DWORD options,
return E_INVALIDARG;
if(options)
FIXME("not supported options %08lx", options);
FIXME("not supported options %08lx\n", options);
if(format)
FIXME("format is not supported\n");

View File

@ -157,7 +157,7 @@ static SCROLLBAR_INFO *SCROLL_GetInternalInfo( HWND hwnd, INT nBar, BOOL alloc )
case SB_HORZ: infoPtr = (SCROLLBAR_INFO *)wndPtr->pHScroll; break;
case SB_VERT: infoPtr = (SCROLLBAR_INFO *)wndPtr->pVScroll; break;
case SB_CTL: infoPtr = (SCROLLBAR_INFO *)wndPtr->wExtra; break;
case SB_BOTH: WARN("with SB_BOTH"); break;
case SB_BOTH: WARN("with SB_BOTH\n"); break;
}
if (!infoPtr && alloc)
@ -259,7 +259,7 @@ static BOOL SCROLL_GetScrollBarRect( HWND hwnd, INT nBar, RECT *lprect,
SCROLLBAR_INFO *info = SCROLL_GetInternalInfo( hwnd, nBar, FALSE );
if (!info)
{
WARN("called for missing scroll bar");
WARN("called for missing scroll bar\n");
WIN_ReleasePtr( wndPtr );
return FALSE;
}

View File

@ -642,7 +642,7 @@ HTHEME WINAPI OpenThemeData(HWND hwnd, LPCWSTR pszClassList)
LPCWSTR pszAppName;
LPCWSTR pszUseClassList;
HTHEME hTheme = NULL;
TRACE("(%p,%s)", hwnd, debugstr_w(pszClassList));
TRACE("(%p,%s)\n", hwnd, debugstr_w(pszClassList));
if(bThemeActive)
{

View File

@ -1061,7 +1061,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, U
/** TODO: change this into a texture transform matrix so that it's processed in hardware **/
TRACE("Pool %d %d %d %d",Pool, WINED3DPOOL_DEFAULT, WINED3DPOOL_MANAGED, WINED3DPOOL_SYSTEMMEM);
TRACE("Pool %d %d %d %d\n",Pool, WINED3DPOOL_DEFAULT, WINED3DPOOL_MANAGED, WINED3DPOOL_SYSTEMMEM);
/** Quick lockable sanity check TODO: remove this after surfaces, usage and locablility have been debugged properly
* this function is too deap to need to care about things like this.
@ -5909,7 +5909,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_BeginStateBlock(IWineD3DDevice *iface)
IWineD3DStateBlockImpl *object;
HRESULT temp_result;
TRACE("(%p)", This);
TRACE("(%p)\n", This);
if (This->isRecordingState) {
return WINED3DERR_INVALIDCALL;

View File

@ -1589,7 +1589,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceType(IWineD3D *iface, UINT Adapter
static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapter, WINED3DDEVTYPE DeviceType,
WINED3DFORMAT AdapterFormat, DWORD Usage, WINED3DRESOURCETYPE RType, WINED3DFORMAT CheckFormat) {
IWineD3DImpl *This = (IWineD3DImpl *)iface;
TRACE_(d3d_caps)("(%p)-> (STUB) (Adptr:%d, DevType:(%u,%s), AdptFmt:(%u,%s), Use:(%u,%s,%s), ResTyp:(%x,%s), CheckFmt:(%u,%s)) ",
TRACE_(d3d_caps)("(%p)-> (STUB) (Adptr:%d, DevType:(%u,%s), AdptFmt:(%u,%s), Use:(%u,%s,%s), ResTyp:(%x,%s), CheckFmt:(%u,%s))\n",
This,
Adapter,
DeviceType, debug_d3ddevicetype(DeviceType),

View File

@ -702,12 +702,12 @@ static GLenum d3dta_to_combiner_input(DWORD d3dta, DWORD stage, INT texture_idx)
case D3DTA_TEMP:
/* TODO: Support D3DTSS_RESULTARG */
FIXME("D3DTA_TEMP, not properly supported.");
FIXME("D3DTA_TEMP, not properly supported.\n");
return GL_SPARE1_NV;
case D3DTA_CONSTANT:
/* TODO: Support per stage constants (D3DTSS_CONSTANT, NV_register_combiners2) */
FIXME("D3DTA_CONSTANT, not properly supported.");
FIXME("D3DTA_CONSTANT, not properly supported.\n");
return GL_CONSTANT_COLOR1_NV;
default:

View File

@ -3185,7 +3185,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
avail = snd_pcm_avail_update(wwo->pcm);
if (avail < 0)
{
ERR("No buffer is available: %s.", snd_strerror(avail));
ERR("No buffer is available: %s.\n", snd_strerror(avail));
return DSERR_GENERIC;
}
err = snd_pcm_mmap_begin(wwo->pcm, (const snd_pcm_channel_area_t **)&pdbi->mmap_areas, &ofs, &avail);

View File

@ -518,7 +518,7 @@ static void mw_PageSetup(HWND hWnd)
if(dm->dmFields & DM_ICMMETHOD)
WINE_TRACE(" dmICMMethod = %#x\n", dm->dmICMMethod);
else
WINE_TRACE(" dmICMMethod NOT SET!");
WINE_TRACE(" dmICMMethod NOT SET!\n");
GlobalUnlock(psd.hDevMode);
}

View File

@ -561,7 +561,7 @@ static void on_edit_changed(HWND dialog, WORD id)
HeapFree(GetProcessHeap(), 0, current_drive->serial);
current_drive->serial = serial ? serial : strdupA("");
WINE_TRACE("set serial to %s", current_drive->serial);
WINE_TRACE("set serial to %s\n", current_drive->serial);
/* enable the apply button */
SendMessage(GetParent(dialog), PSM_CHANGED, (WPARAM) dialog, 0);

View File

@ -484,7 +484,7 @@ static void on_add_click(HWND dialog)
SendDlgItemMessage(dialog, IDC_DLLCOMBO, WM_SETTEXT, 0, (LPARAM) "");
disable(IDC_DLLS_ADDDLL);
WINE_TRACE("Adding %s as native, builtin", buffer);
WINE_TRACE("Adding %s as native, builtin\n", buffer);
SendMessage(GetParent(dialog), PSM_CHANGED, 0, 0);
set_reg_key(config_key, keypath("DllOverrides"), buffer, "native,builtin");

View File

@ -316,7 +316,7 @@ static BOOL fill_theme_list (HWND comboTheme, HWND comboColor, HWND comboSize)
if (!found)
{
/* Current theme not found?... add to the list, then... */
WINE_TRACE("Theme %s not in list of enumerated themes",
WINE_TRACE("Theme %s not in list of enumerated themes\n",
wine_dbgstr_w (currentTheme));
myEnumThemeProc (NULL, currentTheme, currentTheme,
currentTheme, NULL, NULL);

View File

@ -92,7 +92,7 @@ static void update_gui_for_desktop_mode(HWND dialog) {
SetWindowText(GetDlgItem(dialog, IDC_DESKTOP_WIDTH), buf);
SetWindowText(GetDlgItem(dialog, IDC_DESKTOP_HEIGHT), bufindex);
} else {
WINE_TRACE("Desktop registry entry is malformed");
WINE_TRACE("Desktop registry entry is malformed\n");
SetWindowText(GetDlgItem(dialog, IDC_DESKTOP_WIDTH), "640");
SetWindowText(GetDlgItem(dialog, IDC_DESKTOP_HEIGHT), "480");
}

View File

@ -738,7 +738,7 @@ static unsigned WCCURSES_FillCode(struct inner_data* data, INPUT_RECORD* ir, int
numEvent = WCCURSES_FillSimpleChar(ir, 0x9);
ir[0].Event.KeyEvent.dwControlKeyState |= SHIFT_PRESSED;
ir[1].Event.KeyEvent.dwControlKeyState |= SHIFT_PRESSED;
if (numEvent != 2) WINE_ERR("FillsimpleChar has changed");
if (numEvent != 2) WINE_ERR("FillsimpleChar has changed\n");
break;
case KEY_BEG:

View File

@ -610,7 +610,7 @@ int types_print_type(const struct dbg_type* type, BOOL details)
case UdtStruct: dbg_printf("struct %s", name); break;
case UdtUnion: dbg_printf("union %s", name); break;
case UdtClass: dbg_printf("class %s", name); break;
default: WINE_ERR("Unsupported UDT type (%ld) for %s", udt, name); break;
default: WINE_ERR("Unsupported UDT type (%ld) for %s\n", udt, name); break;
}
if (details &&
types_get_info(type, TI_GET_CHILDRENCOUNT, &count))