The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
FNALLOC macro
The FNALLOC provides the declaration for the application-defined callback function to allocate memory in an FDI context.
Syntax
VOID HUGE * FAR FNALLOC( ULONG cb );
Parameters
- cb
-
The number of bytes to allocate.
Return value
The indicated callback function returns a void pointer to the allocated space, or NULL, if there is insufficient memory available.
Remarks
The function accepts parameters similar to malloc.
Examples
FNALLOC(fnMemAlloc)
{
return malloc(cb);
}
Requirements
|
Header |
|
|---|
See also
Show: