Lines Matching full:namelength
225 ULONG NameLength;
232 * ERROR_INSUFFICIENT_BUFFER, NameLength will be set to
234 * problem, and NameLength should be set to 0.
236 * It shouldn't require NameLength to be set, but,
238 * NameLength is big enough before it checks for a
240 * the right thing if NameLength is uninitialized and
245 NameLength = 0;
246 if (!PacketGetAdapterNames(NULL, &NameLength))
259 if (NameLength > 0)
260 AdaptersName = (char*) malloc(NameLength);
272 if (!PacketGetAdapterNames(AdaptersName, &NameLength)) {