Lines Matching full:namelength
128 ULONG NameLength;
135 * ERROR_INSUFFICIENT_BUFFER, NameLength will be set to
137 * problem, and NameLength should be set to 0.
139 * It shouldn't require NameLength to be set, but,
141 * NameLength is big enough before it checks for a
143 * the right thing if NameLength is uninitialized and
148 NameLength = 0;
149 if (!PacketGetAdapterNames(NULL, &NameLength))
162 if (NameLength > 0)
163 AdaptersName = (char*) malloc(NameLength);
175 if (!PacketGetAdapterNames(AdaptersName, &NameLength)) {