Lines Matching defs:NameLength
1730 ULONG NameLength;
1737 * ERROR_INSUFFICIENT_BUFFER, NameLength will be set to
1739 * problem, and NameLength should be set to 0.
1741 * It shouldn't require NameLength to be set, but,
1743 * NameLength is big enough before it checks for a
1745 * the right thing if NameLength is uninitialized and
1750 NameLength = 0;
1751 if (!PacketGetAdapterNames(NULL, &NameLength))
1763 if (NameLength <= 0)
1765 AdaptersName = (char*) malloc(NameLength);
1772 if (!PacketGetAdapterNames(AdaptersName, &NameLength)) {
1874 ULONG NameLength = ADAPTERSNAME_LEN;
1877 if (PacketGetAdapterNames(AdaptersName,&NameLength) )
1886 ULONG NameLength = ADAPTERSNAME_LEN;
1902 if ( !PacketGetAdapterNames((PTSTR)TAdaptersName,&NameLength) )