On Wed, Feb 04, 2004 at 02:20:39PM +0200, Yaniv Kaul wrote: > + if (RegQueryValueEx(hKey, NULL, NULL, NULL, (LPBYTE)REG_UUID_NAME, > &UUID_MAX_SIZE) == ERROR_SUCCESS && UUID_MAX_SIZE <= MAX_PATH) > + //col_append_fstr(pinfo->cinfo, COL_INFO, " Win32 Interface: > %s ", REG_UUID_NAME); > + { > + snprintf(UUID_NAME, UUID_NAME_MAX_LEN, "%s", REG_UUID_NAME); > + RegCloseKey(hKey); > + return strlen(REG_UUID_NAME); > + } > + RegCloseKey(hKey); > + } > +#endif > + return 0; // we didn't find anything anyhow. Please don't use the string! > +
No C++/C99-style comments please. Thanks Jörg -- Joerg Mayer <[EMAIL PROTECTED]> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. _______________________________________________ Ethereal-dev mailing list [EMAIL PROTECTED] http://www.ethereal.com/mailman/listinfo/ethereal-dev