FreeEventInfo method

Frees memory associated with a DBSC_Event structure returned by the GetEvent method.

Syntax
bool FreeEventInfo( DBSC_Event *event )
Remarks

FreeEventInfo must be called on each DBSC_Event structure returned by the GetEvent method.

Parameters
  • event   A pointer to the DBSC_Event structure to be freed.

Return value

Returns true if the memory was successfully freed.

Returns false if the memory could not be freed. When false is returned, you can call the GetErrorInfo method to get more information about the failure. See GetErrorInfo method.