This section details the macros used by the Cabinet API:
FCI Macros
The following macros are used by FCI:
| Macro | Description |
|---|---|
| FNFCIALLOC | Used to allocate memory in an FCI context. |
| FNFCICLOSE | Used to close a file. |
| FNFCIDELETE | Used to delete a file. |
| FNFCIFILEPLACED | Used to notify when a file is placed in the cabinet. |
| FNFCIFREE | Used to free previously allocated memory in an FCI context. |
| FNFCIGETNEXTCABINET | Used to request information for the next cabinet. |
| FNFCIGETOPENINFO | Used to open a file and retrieve file date, time, and attributes. |
| FNFCIGETTEMPFILE | Used to obtain a temporary file name. |
| FNFCIOPEN | Used to open a file in an FCI context. |
| FNFCIREAD | Used to read data from a file. |
| FNFCISEEK | Used to move a file pointer to a specified location. |
| FNFCISTATUS | Used to update the user. |
| FNFCIWRITE | Used to write data to a file. |
| TCOMPfromLZXWindow | Converts windows size into an LXZ TCOMP value for FCIAddFile. |
FDI Macros
The following macros are used by FDI:
| Macro | Description |
|---|---|
| FNALLOC | Used to allocate memory in an FDI context. |
| FNCLOSE | Used to close a file in an FDI context. |
| FNFDINOTIFY | Used to update the application on the status of the decoder. |
| FNFREE | Used to free previously allocated memory in an FDI context. |
| FNOPEN | Used to open a file in an FDI context. |
| FNREAD | Used to read data from a file in an FDI context. |
| FNSEEK | Used to move a file pointer to the specified location in an FDI context. |
| FNWRITE | Used to write data to a file in an FDI context. |
Related topics
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
