Developer

API Reference

IBTImagePullInitiator_GetAttachment()

Brew Release
Brew MP 1.0.2
See Also
IBTImagePullInitiator_GetImagesList AEEBTBIPImageHandle IPort1
Description
Asks responder for the specified attachment of the image with given handle.
When AEEBTBIPI_EV_OP_COMPLETED event is received with SUCCESS, application can extract the attachment from the given port.
Parameters
  • _me
    [in]:
    the object
  • pHandle
    [in]:
    handle of the image of interest
  • pwAttchmentName
    [in]:
    attachment file name extracted from image properties
  • piDestPort
    [in]:
    destination for the attachment
    Return
  • AEE_SUCCESS
    []:
    The command has been scheduled, and AEEBTBIPI_EV_OP_INITIATED and/or AEEBTBIPI_EV_OP_COMPLETED events will be generated at a later time.
  • AEE_EBADPARM
    []:
    Invalid input parameters
  • AEE_EBADSTATE
    []:
    No longer connected to responder.
  • AEE_EITEMBUSY
    []:
    In the middle of another operation.
Prototype
   AEEResult IBTImagePullInitiator_GetAttachment(
                IBTImagePullInitiator*     _me,
                const AEEBTBIPImageHandle* pHandle,
                const _wchar_t*            pwAttchmentName,
                IPort1*                    piDestPort);
Side Effect
None
Comment
When event AEEBTBIPI_EV_OP_COMPLETED is received the following fields of AEEBTBIPInitiatorEventType are associated with this operation: cFunc : function associated with current op cResult : result of operation nSize : attachment size
  • Follow