FNFREE macro (fdi.h)

The FNFREE macro provides the declaration for the application-defined callback function to free previously allocated memory in an FDI context.

Syntax

void FNFREE(
  [in, optional]  fn
);

Parameters

[in, optional] fn

Pointer to the allocated memory block to free.

Return value

None

Remarks

The function accepts parameters similar to free.

Examples

FNFREE(fnMemFree)
{
    free(pv);
}

Requirements

Requirement Value
Target Platform Windows
Header fdi.h

See also

FDICreate