Developer

API Reference

IBTImagePullResponder_SendObject()

Brew Release
Brew MP 1.0.2
See Also
IBTBIPResponder_GetRequestData() for request associated data IBTBIPResponder_GetEvent() for event associated data
Description
Responds to AEEBTBIP_FUNC_GET_IMAGE, AEEBTBIP_FUNC_GET_LINKED_THUMBNAIL, and AEEBTBIP_FUNC_GET_LINKED_ATTACHMENT requests from initiator.
Parameters
  • _me
    [in]:
    the object
  • objType
    [in]:
    type of object being sent
  • piSource
    [out]:
    source for requested object; NULL to reject request
  • nSize
    [in]:
    size of the image in bytes; ignored if piSource is NULL
    Return
  • AEE_SUCCESS
    []:
    The command has been scheduled, and AEEBTBIPR_EV_PROGRESS_REPORT and/or AEEBTBIPR_EV_FUNC_ENDED events will be generated at a later time. No events will be generated if rejecting.
  • AEE_EBADPARM
    []:
    invalid input parameters
  • AEE_EBADSTATE
    []:
    No pending request.
Prototype
   AEEResult IBTImagePullResponder_SendObject(
                IBTImagePullResponder* _me,
                AEEBTBIPObjectType     objType,
                IPort1*                piSource,
                int                    nSize);
Side Effect
None
Comment
To reject the request, set piSource to NULL.
  • Follow