大网数据广告活动
Windows 系统接口

Cabinet API Macros

· 52CE 我爱测

Learn more about: Cabinet API Macros

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

Cabinet API Reference

Using the Cabinet API

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。