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.
Parameters
  • _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
Prototype
   AEEResult IBTBIPResponder_ReadDefaultCap(IBTBIPResponder* _me,
                                            char*            CapXML, 
                                            int              CapXMLLen,
                                            int*             CapXMLLenReq);
Side Effect
None
Comment
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.
  • Follow