2.2.89 FW_MATCH_VALUE

This structure is used to generically store different data types.

 typedef struct _tag_FW_MATCH_VALUE {
   FW_DATA_TYPE type;
   [switch_type(FW_DATA_TYPE), switch_is(type)] 
     union {
     [case(FW_DATA_TYPE_UINT8)] 
       unsigned CHAR uInt8;
     [case(FW_DATA_TYPE_UINT16)] 
       unsigned SHORT uInt16;
     [case(FW_DATA_TYPE_UINT32)] 
       unsigned LONG uInt32;
     [case(FW_DATA_TYPE_UINT64)] 
       unsigned __int64 uInt64;
     [case(FW_DATA_TYPE_UNICODE_STRING)] 
       struct {
       [string, range(1,10001)] wchar_t* wszString;
     };
     [case(FW_DATA_TYPE_EMPTY)] 
             ;
   };
 } FW_MATCH_VALUE;

type: This field identifies the data type that is stored in the structure.

uInt8: This field contains an 8-bit unsigned integer.

uInt16: This field contains a 16-bit unsigned integer.

uInt32: This field contains a 32-bit unsigned integer.

uInt64: This field contains a 64-bit unsigned integer.

wszString: This field contains a pointer to a Unicode string.