Hardware Dev Center

BIDI_TYPE enumeration

The BIDI_TYPE enumeration lists the possible values of data transferred in a bidi operation.

Syntax


typedef enum  { 
  BIDI_NULL    = 0,
  BIDI_INT     = 1,
  BIDI_FLOAT   = 2,
  BIDI_BOOL    = 3,
  BIDI_STRING  = 4,
  BIDI_TEXT    = 5,
  BIDI_ENUM    = 6,
  BIDI_BLOB    = 7
} BIDI_TYPE;

Constants

BIDI_NULL

Indicates that there is no data.

BIDI_INT

Indicates that the bidi data is an integer.

BIDI_FLOAT

Indicates that the bidi data is a floating-point number.

BIDI_BOOL

Indicates that the bidi data is either TRUE or FALSE.

BIDI_STRING

Indicates that the bidi data is a Unicode character string.

BIDI_TEXT

Indicates that the bidi data is a nonlocalizable Unicode string.

BIDI_ENUM

Indicates that the bidi data value is a Unicode string.

BIDI_BLOB

Indicates that the bidi data is binary data.

Remarks

The following correspondence applies between Simple Network Management Protocol (SNMP) types and bidi types defined in the BIDI_TYPE enumeration.

SNMP typeBidi type

SNMP_SYNTAX_CNTR32

SNMP_SYNTAX_GAUGE32

SNMP_SYNTAX_INT

SNMP_SYNTAX_TIMETICKS

SNMP_SYNTAX_UINT32

BIDI_BOOL

BIDI_INT

SNMP_SYNTAX_IPADDR

SNMP_SYNTAX_OCTETS

SNMP_SYNTAX_OID

BIDI_ENUM

BIDI_STRING

BIDI_TEXT

SNMP_SYNTAX_CNTR64

SNMP_SYNTAX_OCTETS

SNMP_SYNTAX_OPAQUE

BIDI_BLOB

(none)

BIDI_FLOAT

 

See the smiValue structure in the Microsoft Windows SDK documentation for descriptions of the WinSNMP data types.

Requirements

Version

This enumeration is available in Windows XP and later operating systems.

Header

Winspool.h (include Winspool.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft