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

Developer

API Reference

IOBEXHEADER_GETSTRINGATINDEX()

Brew Release
Brew MP 1.0.2
See Also
IOBEXHeader_GetList()
Description
An application can call this function to retrieve an OBEX header at a particular index. The header is of type Unicode (USC2) string
Params
po
[in]:
pointer to the IOBEXHeader object
nIndex
[in]:
index of the header in the list. Zero based
pwSeq
[out]:
pointer to location where the header is returned
nwSeqLen
[in]:
length of the buffer including the null terminator
Interface
Prototype
  •    int IOBEXHeader_GetStringAtIndex(IOBEXHeader     *p,
                                        int             nIndex,
                                        AECHAR          *pwSeq,
                                        int             nwSeqLen)
    
Return
  • AEE_SUCCESS : the header was returned successfully AEE_EBADPARM : bad parameters AEE_ENOSUCH : a header which is a unicode (usc2) string not found at this index AEE_EBUFFERTOOSMALL : buffer size insufficient
Side Effect
  • None.
Comments
None.