LANA_ENUM (Structures)
Last changed: -192.180.154.40

.
Summary
Used by the NetBIOS function to retrieve the list of LAN Adapters (LANAs). The LANA_ENUM structure is pointed to by the ncb_buffer member of the NCB structure when an application issues the NCBENUM command.

C# Definition:

struct LANA_ENUM {
   public TODO;
}

VB Definition:

Private Const MAX_LANA As Integer = 254

<StructLayout(LayoutKind.Sequential)> _

Private Structure LANA_ENUM

    Dim length As Byte
    <MarshalAs(UnmanagedType.ByValArray, SizeConst:=MAX_LANA + 1)> Dim lana() As Byte

End Structure

User-Defined Field Types:

None.

Notes:

/*

*  Structure returned to the NCB command NCBENUM.
*
*  On a system containing lana's 0, 2 and 3, a structure with
*  length =3, lana[0]=0, lana[1]=2 and lana[2]=3 will be returned.
*/

typedef struct LANAENUM {

    UCHAR   length;     //  Number of valid entries in lana[]
    UCHAR   lana[MAX_LANA+1];

} LANA_ENUM, *PLANA_ENUM;

Documentation
LANA_ENUM on MSDN