tfPoolDelete

Jump to: navigation, search

Table of Contents >> Programmer's Reference


#include <trsocket.h>


int tfPoolDelete (ttUserInterface interfaceHandle);


Function Description

Free the pool of pre-allocated recv buffers, which was allocated in tfPoolCreate().


Note Note: This function should be called by the user from the device driver close function.


Parameters

  • interfaceHandle
    Interface handle as given in the first parameter of the driver close function, or as returned by tfAddInterface().


Parameters

  • TM_ENOERROR
    Success.
  • TM_EALREADY
    Pool already deleted or not created on that interface.


Table of Contents >> Programmer's Reference