API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

_WSTRING_T

Brew Release
Brew MP 1.0.2
See Also
Description
This structure is used to represent an IDL wstring when used inside a sequence or union.
Members
  • data       : A pointer to the NULL-terminated wide string.
  • dataLen    : The size, in 16-bit characters, of the buffer pointed to
                    by 'data', including the NULL terminator.  This member
                    is only used when the structure is part of an rout or
                    inrout parameter, but must be supplied by the caller as
                    an input in these cases.
  • dataLenReq : The number of 16-bit characters that would have been
                    required to store the entire result string.  This member
                    is only used when the structure is part of an rout or
                    inrout parameter, when it is an output value set by the
                    callee.  The length of the returned wstring (including
                    the NULL terminator) after a call is the minimum of
                    dataLen and dataLenReq.
Definition
  •    typedef struct _wstring_s {
          _wchar_t* data;
          int dataLen;
          int dataLenReq;
       } _wstring_t;