Windows Dev Center

MBN_CONTEXT_CONSTANTS enumeration

The MBN_CONTEXT_CONSTANTS enumerated type specifies the maximum string lengths supported by members of the MBN_CONTEXT structure.

Syntax


typedef enum MBN_CONTEXT_CONSTANTS { 
  MBN_ACCESSSTRING_LEN   = 100,
  MBN_USERNAME_LEN       = 255,
  MBN_PASSWORD_LEN       = 255,
  MBN_CONTEXT_ID_APPEND  = 0xffffffff
} MBN_CONTEXT_CONSTANTS;

Constants

MBN_ACCESSSTRING_LEN

Maximum string length of the accessString member of the MBN_CONTEXT structure.

MBN_USERNAME_LEN

Maximum string length of the userName member of the MBN_CONTEXT structure.

MBN_PASSWORD_LEN

Maximum string length of the password member of the MBN_CONTEXT structure.

MBN_CONTEXT_ID_APPEND

The device will find the appropriate index to store a context into.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

IDL

Mbnapi.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft