Chapter 6
NI-FBUS Function Reference
NI-FBUS Hardware and Software User Manual
6-28
ni.com
nifFreeObjectType
Purpose
Frees the
nifObjTypeList_t
structure allocated during a previous call to
nifGetObjectType
.
Format
nifError_t
nifFreeObjectType(
nifObjTypeList_t *typeData)
Input
typeData
Object Type values to be freed. These values were previously read
with the
nifGetObjectType
function call.
Output
Not applicable.
Context
Session, block, VFD, physical device, link.
Description
nifFreeObjectType
frees up the memory associated with the
nifObjTypeList_t
structure specified by
typeData
.
typeData
must have been filled in by a successful call to
nifGetObjectType
. Once this function has been called, the contents of
typeData
are no
longer valid.
If your application does not call this function after calling
nifGetObjectType
, your
application will not free up memory properly.
Refer to
nifGetObjectType
to get more details about the
nifObjTypeList_t
structure.
Return Values
E_OK
The call was successful.
E_BAD_ARGUMENT
typeData
was not a valid
nifObjTypeList_t
structure.