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

Developer

API Reference

IBTIMAGEPUSHRESPONDER_ACCEPTIMAGE()

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_PUT_IMAGE request from initiator.
Params
_me
[in]:
the object
piDestPort
[in]:
destination for the image; NULL to reject
pHandle
[in]:
handle assigned to the image; ignored if rejecting
bGetThumbnail
[in]:
TRUE to request the thumbnail version from initiator; ignored if rejecting
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 image handle
AEE_EBADSTATE
[]:
No pending AEEBTBIP_FUNC_PUT_IMAGE request.
Prototype
  •    AEEResult IBTImagePushResponder_AcceptImage(
                    IBTImagePushResponder*     _me,
                    IPort1*                    piDestPort,
                    const AEEBTBIPImageHandle* pHandle,
                    boolean                    bGetThumbnail);
    
Side Effect
  • None
Comments
To reject the request, set piImageDestPort to NULL.