Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.2.1.12.3 RPC_BIDI_DATA

The RPC_BIDI_DATA structure is used to store the values of a bidirectional schema.<83>

 typedef struct _RPC_BIDI_DATA {
   DWORD dwBidiType;
   [switch_is(dwBidiType)] union {
     [case(BIDI_NULL,BIDI_BOOL)] 
       int bData;
     [case(BIDI_INT)] 
       long iData;
     [case(BIDI_STRING,BIDI_TEXT,BIDI_ENUM)] 
       [unique, string] wchar_t* sData;
     [case(BIDI_FLOAT)] 
       float fData;
     [case(BIDI_BLOB)] 
       RPC_BINARY_CONTAINER biData;
   } u;
 } RPC_BIDI_DATA;

dwBidiType: The type of data in a bidirectional request. The value of this member specifies a valid structure for the u union. The value of this member MUST be one of the BIDI_TYPE enumeration values specified in section 2.2.3.13.

u: The bidirectional data in the format specified by the value of the dwBidiType member.

bData: This case indicates that either there is no bidirectional data, or the bidirectional data is a Boolean value.

iData: This case indicates that the bidirectional data is an integer.

sData: This case indicates that the bidirectional data is either a string, text data, or an enumeration.

fData: The bidirectional data is a floating-point number.

biData: This case indicates that the bidirectional data is an RPC_BINARY_CONTAINER structure.

Show:
© 2015 Microsoft