Code:
HFCI DIAMONDAPI FCICreate(
PERF perf,
PFNFCIFILEPLACED pfnfiledest,
PFNFCIALLOC pfnalloc,
PFNFCIFREE pfnfree,
PFNFCIOPEN pfnopen,
PFNFCIREAD pfnread,
PFNFCIWRITE pfnwrite,
PFNFCICLOSE pfnclose,
PFNFCISEEK pfnseek,
PFNFCIDELETE pfndelete,
PFNFCIGETTEMPFILE pfnfcigtf,
PCCAB pccab,
void FAR * pv
);
Parameters
perf Pointer to an error structure
pfnfiledest Function to call when a file is placed
pfnalloc Memory allocation function
pfnfree Memory free function
pfnopen Function to open a file
pfnread Function to read data from a file
pfnwrite Function to write data to a file
pfnclose Function to close a file
pfnseek Function to seek to a new position in a file
pfntemp Function to obtain a temporary file name
pfndelete Function to delete a file
pccab Parameters for creating cabinet
pv Client context parameter
HFCI DIAMONDAPI FCICreate(
PERF perf,
PFNFCIFILEPLACED pfnfiledest,
PFNFCIALLOC pfnalloc,
PFNFCIFREE pfnfree,
PFNFCIOPEN pfnopen,
PFNFCIREAD pfnread,
PFNFCIWRITE pfnwrite,
PFNFCICLOSE pfnclose,
PFNFCISEEK pfnseek,
PFNFCIDELETE pfndelete,
PFNFCIGETTEMPFILE pfnfcigtf,
PCCAB pccab,
void FAR * pv
);
Parameters
perf Pointer to an error structure
pfnfiledest Function to call when a file is placed
pfnalloc Memory allocation function
pfnfree Memory free function
pfnopen Function to open a file
pfnread Function to read data from a file
pfnwrite Function to write data to a file
pfnclose Function to close a file
pfnseek Function to seek to a new position in a file
pfntemp Function to obtain a temporary file name
pfndelete Function to delete a file
pccab Parameters for creating cabinet
pv Client context parameter