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

Developer

API Reference

IBTBIPRESPONDER_READDEFAULTCAP()

Brew Release
Brew MP 1.0.2
See Also
IBTBIPResponder_AcceptConnection()
Description
Reads default capabilities provided by the object. This string conforms to the imaging-capabilities DTD.
Params
_me
[in]:
the object
CapXML
[in]:
destination for default capabilities string
CapXMLLen
[in]:
number of characters CapXML can hold
CapXMLLenReq
[out]:
number of characters CapXML must be able to hold
Return
AEE_SUCCESS
[]:
capability string available in CapXML
AEE_EBADPARM
[]:
invalid input parameters
AEE_EBUFFERTOOSMALL
[]:
CapXML not large enough to hold capabilities string
Interface
Prototype
  •    AEEResult IBTBIPResponder_ReadDefaultCap(IBTBIPResponder* _me,
                                                char*            CapXML, 
                                                int              CapXMLLen,
                                                int*             CapXMLLenReq);
    
Side Effect
  • None
Comments
Application should use this information to determine whether it can let the object handle certain imaging requests. Hence, this API should be called before accepting connection request.