L_VecFreeObject

#include "lvkrn.h"

L_INT EXT_FUNCTION L_VecFreeObject(nType, pObjectDesc)

L_INT nType;

/* object type */

L_VOID L_FAR * pObjectDesc;

/* pointer to a vector object structure */

Frees any resources associated with pObjectDesc, obtained using L_VecGetObject.

Parameter

Description

nType

Object type. This must be the same type used in L_VecGetObject.

pObjectDesc

Pointer to a vector object structure obtained using L_VecGetObject.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

When the pointer to the object structure, obtained using L_VecGetObject, is no longer needed, free any associated resources by calling L_VecFreeObject.

Required DLLs and Libraries

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_VecGetObject.

Topics:

Working with Vector Objects

Example

For an example, refer to L_VecGetObject.