// winspool.h
typedef enum {
BIDI_NULL,
BIDI_INT,
BIDI_FLOAT,
BIDI_BOOL,
BIDI_STRING,
BIDI_TEXT,
BIDI_ENUM,
BIDI_BLOB
} BIDI_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The BIDI_TYPE enumeration lists the possible values of data transferred in a bidi operation.
BIDI_NULLIndicates that there is no data.
BIDI_INTIndicates that the bidi data is an integer.
BIDI_FLOATIndicates that the bidi data is a floating-point number.
BIDI_BOOLIndicates that the bidi data is either TRUE or FALSE.
BIDI_STRINGIndicates that the bidi data is a Unicode character string.
BIDI_TEXTIndicates that the bidi data is a nonlocalizable Unicode string.
BIDI_ENUMIndicates that the bidi data value is a Unicode string.
BIDI_BLOBIndicates that the bidi data is binary data.
The following correspondence applies between Simple Network Management Protocol (SNMP) types and bidi types defined in the BIDI_TYPE enumeration.
| SNMP type | Bidi type |
|---|---|
| SNMP_SYNTAX_CNTR32, SNMP_SYNTAX_GAUGE32, SNMP_SYNTAX_INT, SNMP_SYNTAX_TIMETICKS, SNMP_SYNTAX_UINT32 | BIDI_BOO,L 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.