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

Developer

API Reference

IBTDEVDBRECORD_GETDEVICENAME()

Brew Release
Brew MP 1.0.2
See Also
IBTDevDBRecord_GetNickName IBTDevDBRecord_Read
Description
Reads the device name of the device associated with this record
Params
_me
[in]:
The object
pszName
[out]:
Destination to store the device name
pszNameLen
[out]:
Length of the 'pszName' buffer
pszNameLenReq
[out]:
Actual length required to copy complete device name onto 'pszName' buffer
pbShortName
[out]:
TRUE if the device name is short name else FALSE

Return
AEE_SUCCESS
[]:
Device name is successfully retrieved
AEE_EBUFFERTOOSMALL
[]:
size of 'pszName' buffer is too small to copy entire name
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTDevDBRecord_GetDeviceName(IBTDevDBRecord* _me,
                                              char* pszName,
                                              int pszNameLen,
                                              int* pszNameLenReq,
                                              boolean* pbShortName);
    
Side Effect
  • None
Comments
None