<< Click to Display Table of Contents >>
ZfxAPIClosedown
Closedown API routines.
Syntax
ZFERR FAR ZfxAPIClosedown( ZFSESSIONHANDLE hSession)
Parameters
Parameter |
Description |
hSessionAPI |
session handle, as returned by ZfxAPIInit call |
Description
This routine should be called for each session handle returned by ZfxAPIInit . It releases any resources used by the API routines.
Return value
The routine returns 0.
Example
#include <stdio.h>
#include <zfapi.h>
...
ZFSESSIONHANDLE hSession;
if (ZfxAPIInit(&hSession, "FRED", TRUE, MyErrorProc) == 0)
{
/* call other API functions */
...
/* now cleanup */
ZfxAPIClosedown(hSession);
}
Related topics