![Aim AFDX / ARINC 664 Скачать руководство пользователя страница 226](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730226.webp)
214
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Target Independent Administration Functions
4
4
.
.
5
5
.
.
2
2
F
F
d
d
x
x
C
C
m
m
d
d
F
F
r
r
e
e
e
e
M
M
e
e
m
m
o
o
r
r
y
y
Prototype:
AiReturn FdxCmdFreeMemory( void * vp_MemPointer, AiUInt32 ul_StructId);
Driver Command:
none
Purpose:
This function releases memory (previously allocated by other Application Interface Library
Functions) in a proper manner.
Input:
void * vp_MemPointer
A pointer to an information list or an information array.
If a pointer to an information list element, this must be the pointer to the first
entry of the information list. The function will release the memory of each
element in that list.
If a pointer to an information array, this must be the pointer to the start of the
array.
The application programmer should take care to insure that all memory allocated by
an Application Interface Library function is freed prior to termination of the
application.
AiUInt32 ul_StructId
Identification of the type of memory to be freed.
Output:
None
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR