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

Search Results for "CB_" in [All]

kernel32

.

    public Commands ncb_command;      /* command code           */

.

    public byte   ncb_retcode;        /* return code            */

.

    public byte   ncb_lsn;        /* local session number       */

.

    public byte   ncb_num;        /* number of our network name     */

.

    public IntPtr ncb_buffer;         /* address of message buffer      */

.

    public ushort ncb_length;         /* size of message buffer     */

.

    public byte[]   ncb_callname; /* blank-padded name of remote    */

.

    public byte[]   ncb_name;         /* our blank-padded netname       */

.

    public byte   ncb_rto;        /* rcv timeout/retry count    */

.

    public byte   ncb_sto;        /* send timeout/sys timeout       */

.

    public IntPtr postroutine;//void (CALLBACK *ncb_post)( struct _NCB * ); /* POST routine address    */

.

    public byte   ncb_lana_num;       /* lana (adapter) number      */

.

    public byte   ncb_cmd_cplt;       /* 0xff => commmand pending       */

.

    public byte[/*10*/]   ncb_reserve;    /* reserved, used by BIOS     */

.

    public IntPtr  ncb_event;         /* HANDLE to Win32 event which    */

.

   Dim ncb_command As Byte

.

   Dim ncb_retcode As Byte

.

   Dim ncb_lsn As Byte

.

   Dim ncb_num As Byte

.

   Dim ncb_buffer As IntPtr

.

   Dim ncb_length As Short

.

   <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=NCBNAMSZ)> Dim ncb_callname As String

.

   <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=NCBNAMSZ)> Dim ncb_name As String

.

   Dim ncb_rto As Byte

.

   Dim ncb_sto As Byte

.

   Dim ncb_post As IntPtr

.

   Dim ncb_lana_num As Byte

.

   Dim ncb_cmd_cplt As Byte

.

   <MarshalAs(UnmanagedType.ByValArray, SizeConst:=10)> Dim ncb_reserve() As Byte

.

   Dim ncb_event As IntPtr

.

   myNcb.ncb_command = NCBENUM

.

   myNcb.ncb_length = CShort(Marshal.SizeOf(myLana))

.

   myNcb.ncb_buffer = ptr

.

   myNcb.ncb_command = NCBRESET

.

   myNcb.ncb_lana_num = FirstLANA

.

   myNcb.ncb_command = NCBASTAT

.

   myNcb.ncb_lana_num = FirstLANA

.

   myNcb.ncb_callname = RemoteIP.PadRight(NCBNAMSZ, " "c)

.

   myNcb.ncb_buffer = ptr

.

   myNcb.ncb_length = CShort(Marshal.SizeOf(myASTAT))

Structures

.
Summary
The ADAPTER_STATUS structure contains information about a network adapter via the (NetBIOS) API call. This structure is pointed to by the ncb_buffer member of the NCB structure. ADAPTER_STATUS is followed by as many NAME_BUFFER structures as required to describe the network adapters on the system
.
Summary
Used by the (NetBIOS) function to retrieve the list of LAN Adapters. The LANA_ENUM structure is pointed to by the ncb_buffer member of the NCB structure when an application issues the NCBENUM command.
.
Summary
The NAME_BUFFER structure contains information about a local network name via the (NetBIOS) API Call. One or more NAME_BUFFER structures follows an ADAPTER_STATUS structure when an application specifies the NCBASTAT command in the ncb_command member of the NCB structure.
5: NCB
.

        byte ncb_command;

.

        byte ncb_retcode;

.

        byte ncb_lsn;

.

        byte ncb_num;

.

        IntPtr ncb_buffer;

.

        short ncb_length;

.

        String ncb_callname;

.

        String ncb_name;

.

        byte ncb_rto;

.

        byte ncb_sto;

.

        IntPtr ncb_post;

.

        byte ncb_lana_num;

.

        byte ncb_cmd_cplt;

.

        byte[] ncb_reserve;

.

        IntPtr ncb_event;

.

   Dim ncb_command As Byte

.

   Dim ncb_retcode As Byte

.

   Dim ncb_lsn As Byte

.

   Dim ncb_num As Byte

.

   Dim ncb_buffer As IntPtr

.

   Dim ncb_length As Short

.

   <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=NCBNAMSZ)> Dim ncb_callname As String

.

   <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=NCBNAMSZ)> Dim ncb_name As String

.

   Dim ncb_rto As Byte

.

   Dim ncb_sto As Byte

.

   Dim ncb_post As IntPtr

.

   Dim ncb_lana_num As Byte

.

   Dim ncb_cmd_cplt As Byte

.

   <MarshalAs(UnmanagedType.ByValArray, SizeConst:=10)> Dim ncb_reserve() As Byte

.

   Dim ncb_event As IntPtr

.

   UCHAR   ncb_command;        /* command code           */

.

   UCHAR   ncb_retcode;        /* return code            */

.

   UCHAR   ncb_lsn;        /* local session number       */

.

   UCHAR   ncb_num;        /* number of our network name     */

.

   PUCHAR  ncb_buffer;         /* address of message buffer      */

.

   WORD    ncb_length;         /* size of message buffer     */

.

   UCHAR   ncb_callname[NCBNAMSZ]; /* blank-padded name of remote    */

.

   UCHAR   ncb_name[NCBNAMSZ];     /* our blank-padded netname       */

.

   UCHAR   ncb_rto;        /* rcv timeout/retry count    */

.

   UCHAR   ncb_sto;        /* send timeout/sys timeout       */

.

   void (CALLBACK *ncb_post)( struct _NCB * ); /* POST routine address    */

.

   UCHAR   ncb_lana_num;       /* lana (adapter) number      */

.

   UCHAR   ncb_cmd_cplt;       /* 0xff => commmand pending       */

.

   UCHAR   ncb_reserve[18];    /* reserved, used by BIOS     */

.

   UCHAR   ncb_reserve[10];    /* reserved, used by BIOS     */

.

   HANDLE  ncb_event;          /* HANDLE to Win32 event which    */

user32

.

///     <br />To obtain the exact length of the text, use the WM_GETTEXT, LB_GETTEXT, or CB_GETLBTEXT messages, or the

wtsapi32

.
Summary
Retrieve the primary access token for the user associated with the specified session ID. The caller must be running in the context of the LocalSystem account and have the SE_TCB_NAME privilege. Only highly trusted service should use this function. The application must not leak tokens, and close the token when it has finished using it.

Constants

8: CB_
.

    CB_GETEDITSEL = 0x0140,

.

    CB_LIMITTEXT = 0x0141,

.

    CB_SETEDITSEL = 0x0142,

.

    CB_ADDSTRING = 0x0143,

.

    CB_DELETESTRING = 0x0144,

.

    CB_DIR = 0x0145,

.

    CB_GETCOUNT = 0x0146,

.

    CB_GETCURSEL = 0x0147,

.

    CB_GETLBTEXT = 0x0148,

.

    CB_GETLBTEXTLEN = 0x0149,

.

    CB_INSERTSTRING = 0x014A,

.

    CB_RESETCONTENT = 0x014B,

.

    CB_FINDSTRING = 0x014C,

.

    CB_SELECTSTRING = 0x014D,

.

    CB_SETCURSEL = 0x014E,

.

    CB_SHOWDROPDOWN = 0x014F,

.

    CB_GETITEMDATA = 0x0150,

.

    CB_SETITEMDATA = 0x0151,

.

    CB_GETDROPPEDCONTROLRECT = 0x0152,

.

    CB_SETITEMHEIGHT = 0x0153,

.

    CB_GETITEMHEIGHT = 0x0154,

.

    CB_SETEXTENDEDUI = 0x0155,

.

    CB_GETEXTENDEDUI = 0x0156,

.

    CB_GETDROPPEDSTATE = 0x0157,

.

    CB_FINDSTRINGEXACT = 0x0158,

.

    CB_SETLOCALE = 0x0159,

.

    CB_GETLOCALE = 0x015A,

.

    CB_GETTOPINDEX = 0x015B,

.

    CB_SETTOPINDEX = 0x015C,

.

    CB_GETHORIZONTALEXTENT = 0x015D,

.

    CB_SETHORIZONTALEXTENT = 0x015E,

.

    CB_GETDROPPEDWIDTH = 0x015F,

.

    CB_SETDROPPEDWIDTH = 0x0160,

.

    CB_INITSTORAGE = 0x0161

.

    /*  CB_MSGMAX    = 354*/

.

public const int CB_GETEDITSEL        = 0x0140;

.

public const int CB_LIMITTEXT         = 0x0141;

.

public const int CB_SETEDITSEL        = 0x0142;

.

public const int CB_ADDSTRING         = 0x0143;

.

public const int CB_DELETESTRING      = 0x0144;

.

public const int CB_DIR           = 0x0145;

.

public const int CB_GETCOUNT          = 0x0146;

.

public const int CB_GETCURSEL         = 0x0147;

.

public const int CB_GETLBTEXT         = 0x0148;

.

public const int CB_GETLBTEXTLEN      = 0x0149;

.

public const int CB_INSERTSTRING      = 0x014A;

.

public const int CB_RESETCONTENT      = 0x014B;

.

public const int CB_FINDSTRING        = 0x014C;

.

public const int CB_SELECTSTRING      = 0x014D;

.

public const int CB_SETCURSEL         = 0x014E;

.

public const int CB_SHOWDROPDOWN      = 0x014F;

.

public const int CB_GETITEMDATA       = 0x0150;

.

public const int CB_SETITEMDATA       = 0x0151;

.

public const int CB_GETDROPPEDCONTROLRECT = 0x0152;

.

public const int CB_SETITEMHEIGHT     = 0x0153;

.

public const int CB_GETITEMHEIGHT     = 0x0154;

.

public const int CB_SETEXTENDEDUI     = 0x0155;

.

public const int CB_GETEXTENDEDUI     = 0x0156;

.

public const int CB_GETDROPPEDSTATE       = 0x0157;

.

public const int CB_FINDSTRINGEXACT       = 0x0158;

.

public const int CB_SETLOCALE         = 345;

.

public const int CB_GETLOCALE         = 346;

.

public const int CB_GETTOPINDEX       = 347;

.

public const int CB_SETTOPINDEX       = 348;

.

public const int CB_GETHORIZONTALEXTENT   = 349;

.

public const int CB_SETHORIZONTALEXTENT   = 350;

.

public const int CB_GETDROPPEDWIDTH       = 351;

.

public const int CB_SETDROPPEDWIDTH       = 352;

.

public const int CB_INITSTORAGE       = 353;

.

public const int CB_MSGMAX        = 354;

.

        CB_GETEDITSEL = &H140

.

        CB_LIMITTEXT = &H141

.

        CB_SETEDITSEL = &H142

.

        CB_ADDSTRING = &H143

.

        CB_DELETESTRING = &H144

.

        CB_DIR = &H145

.

        CB_GETCOUNT = &H146

.

        CB_GETCURSEL = &H147

.

        CB_GETLBTEXT = &H148

.

        CB_GETLBTEXTLEN = &H149

.

        CB_INSERTSTRING = &H14A

.

        CB_RESETCONTENT = &H14B

.

        CB_FINDSTRING = &H14C

.

        CB_SELECTSTRING = &H14D

.

        CB_SETCURSEL = &H14E

.

        CB_SHOWDROPDOWN = &H14F

.

        CB_GETITEMDATA = &H150

.

        CB_SETITEMDATA = &H151

.

        CB_GETDROPPEDCONTROLRECT = &H152

.

        CB_SETITEMHEIGHT = &H153

.

        CB_GETITEMHEIGHT = &H154

.

        CB_SETEXTENDEDUI = &H155

.

        CB_GETEXTENDEDUI = &H156

.

        CB_GETDROPPEDSTATE = &H157

.

        CB_FINDSTRINGEXACT = &H158

.

        CB_SETLOCALE = &H159

.

        CB_GETLOCALE = &H15A

.

        CB_GETTOPINDEX = &H15B

.

        CB_SETTOPINDEX = &H15C

.

        CB_GETHORIZONTALEXTENT = &H15D

.

        CB_SETHORIZONTALEXTENT = &H15E

.

        CB_GETDROPPEDWIDTH = &H15F

.

        CB_SETDROPPEDWIDTH = &H160

.

        CB_INITSTORAGE = &H161

.

    Public Const CB_GETEDITSEL As Integer = &H140

.

    Public Const CB_LIMITTEXT As Integer = &H141

.

    Public Const CB_SETEDITSEL As Integer = &H142

.

    Public Const CB_ADDSTRING As Integer = &H143

.

    Public Const CB_DELETESTRING As Integer = &H144

.

    Public Const CB_DIR As Integer = &H145

.

    Public Const CB_GETCOUNT As Integer = &H146

.

    Public Const CB_GETCURSEL As Integer = &H147

.

    Public Const CB_GETLBTEXT As Integer = &H148

.

    Public Const CB_GETLBTEXTLEN As Integer = &H149

.

    Public Const CB_INSERTSTRING As Integer = &H14A

.

    Public Const CB_RESETCONTENT As Integer = &H14B

.

    Public Const CB_FINDSTRING As Integer = &H14C

.

    Public Const CB_SELECTSTRING As Integer = &H14D

.

    Public Const CB_SETCURSEL As Integer = &H14E

.

    Public Const CB_SHOWDROPDOWN As Integer = &H14F

.

    Public Const CB_GETITEMDATA As Integer = &H150

.

    Public Const CB_SETITEMDATA As Integer = &H151

.

    Public Const CB_GETDROPPEDCONTROLRECT As Integer = &H152

.

    Public Const CB_SETITEMHEIGHT As Integer = &H153

.

    Public Const CB_GETITEMHEIGHT As Integer = &H154

.

    Public Const CB_SETEXTENDEDUI As Integer = &H155

.

    Public Const CB_GETEXTENDEDUI As Integer = &H156

.

    Public Const CB_GETDROPPEDSTATE As Integer = &H157

.

    Public Const CB_FINDSTRINGEXACT As Integer = &H158

.

    Public Const CB_SETLOCALE As Integer = 345

.

    Public Const CB_GETLOCALE As Integer = 346

.

    Public Const CB_GETTOPINDEX As Integer = 347

.

    Public Const CB_SETTOPINDEX As Integer = 348

.

    Public Const CB_GETHORIZONTALEXTENT As Integer = 349

.

    Public Const CB_SETHORIZONTALEXTENT As Integer = 350

.

    Public Const CB_GETDROPPEDWIDTH As Integer = 351

.

    Public Const CB_SETDROPPEDWIDTH As Integer = 352

.

    Public Const CB_INITSTORAGE As Integer = 353

.

    Public Const CB_MSGMAX As Integer = 354

.

The value of CB_MSGMAX may change depending on the version of windows

.

    Private Const CB_GETLBTEXT = &H148

.

    Private Const CB_GETLBTEXTLEN = &H149

.
Summary
Adapter Status command used in the NCB structure's ncb_command value by the NetBIOS API Call. Returns a ADAPTER_STATUS structure
.
Summary
NetBIOS command via the NCB structure's ncb_command to retrieve the number of Lan Adapters. Returns a LANA_ENUM structure
.
Summary
NetBIOS reset command via the NCB ncb_command
13: WM
.
WM_DELETEITEM 0x2D Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.

Enums

.

        ERROR_DCB_NOT_FOUND,

.

    /// Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.

.

    '''Sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING LB_RESETCONTENT CB_DELETESTRING or CB_RESETCONTENT message. The system sends a WM_DELETEITEM message for each deleted item. The system sends the WM_DELETEITEM message for any deleted list box or combo box item with nonzero item data.

advapi32

.

        case SecurityEntity.SE_TCB_NAME:

.

      SE_TCB_NAME,

.

public const string SE_TCB_NAME = "SeTcbPrivilege";


 
Access PInvoke.net directly from VS: