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

Developer

API Reference

IBTBIPRESPONDER_ACCEPTCONNECTION()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Accepts or rejects the incoming connection request.
Params
_me
[in]:
the object
bAccept
[in]:
accept or reject; remaining parameters are ignored if rejecting
pszRoot
[in]:
name of root folder; empty string indicates application wishes to handle all requests
piFS
[in]:
file system object on which to operate; must be valid if root folder name is provided
nProgFreq
[in]:
number of image bytes transferred between progress reports
Return
AEE_SUCCESS
[]:
The commmand has been scheduled, and CONNECTED event will be generated if accepting the connection request. No events will be generated for rejecting the request.
AEE_EBADSTATE
[]:
No pending connection requests found.
Interface
Prototype
  •    AEEResult IBTBIPResponder_AcceptConnection(IBTBIPResponder* _me,
                                                  boolean          bAccept,
                                                  const char*      pszRoot,
                                                  IFileSystem2*    piFS,
                                                  int              nProgFreq);
    
Side Effect
  • None
Comments
None