PreviousNext

Conversion Type

The conversion type data structure is an enumerated type that RPC stub buffer sizing routines return to indicate whether character data conversion is necessary and whether or not existing storage is sufficient for the stub to store the results of the conversion. The conversion type can be one of the following values:

idl_cs_no_convert No code set conversion is required.
idl_cs_in_place_convert Code set conversion can be performed in a single storage area.
idl_cs_new_buffer_convert The converted data must be written to a new storage area.
The C language representation of a conversion type structure is as follows:

typedef enum {

idl_cs_no_convert,

idl_cs_in_place_convert,

idl_cs_new_buffer_convert,

} idl_cs_convert_t;