Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

LANA_ENUM (Structures)
 
.
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 _LANA_ENUM {
    UCHAR   length;     //  Number of valid entries in lana[]
    UCHAR   lana[MAX_LANA+1];
    } LANA_ENUM, *PLANA_ENUM;

Documentation
LANA_ENUM on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions