Information
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.

FNFCIALLOC macro

The FNFCIALLOC provides the declaration for the application-defined callback function to allocate memory within an FCI context.

Syntax


VOID HUGE * FAR FNFCIALLOC(
   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


FNFCIALLOC(fnMemAlloc)
{
    return malloc(cb);
}


Requirements

Header

Fci.h

See also

FCICreate

 

 

Show: