Developer

API Reference

ISOCKET_Cancel()

Brew Release
Brew MP 1.0.2
See Also
Description
This function allows an application to cancel (un-register) a callback function that has been previously registered using ISOCKET_Readable(), ISOCKET_Writeable() or ISOCKET_Connect(). Cancellation annuls the effect of the prior registration so that the callback function is not called when the socket makes progress.
When both the pfn and pUser parameters are NULL, all registered callbacks are cancelled.
Parameters
  • pISocket
    []:
    Pointer to the ISocket Interface for which the callback function needs to be de-registered.
  • pfn
    []:
    Pointer to the callback function that needs to be cancelled.
  • pUser
    []:
    Callback data that was used to register the callback.
Interface
ISOCKET
Prototype
    void ISOCKET_Cancel(ISocket * pISocket, PFNNOTIFY pfn, void * pUser)
Return
None.
Side Effect
None.
Comment
None.
  • Follow