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

ApplyDeltaB function

· 52CE 我爱测

Uses the delta and source (provided as buffers) to create a new copy of the target data. The output data is returned in an MSDelta-allocated buffer.

Uses the delta and source (provided as buffers) to create a new copy of the target data. The output data is returned in an MSDelta-allocated buffer.

Note: You must call DeltaFree to free the output buffer after this function has completed.

Note: If the specified delta was created using PatchAPI, and the DELTA_APPLY_FLAG_ALLOW_PA19 flag is set, MSDelta will call PatchAPI to apply the delta.

Syntax

BOOL  WINAPI  ApplyDeltaB(
    DELTA_FLAG_TYPE  ApplyFlags,
    DELTA_INPUT      Source,
    DELTA_INPUT      Delta,
    LPDELTA_OUTPUT   lpTarget
   );

Parameters

ApplyFlags

[in] Either DELTA_FLAG_NONE or DELTA_APPLY_FLAG_ALLOW_PA19.

Source

[in] A DELTA_INPUT structure containing a pointer to the buffer containing the source data.

Delta

[in] A DELTA_INPUT structure containing a pointer to the buffer containing the delta data.

lpTarget

[out] Pointer to the DELTA_OUTPUT structure where the target is to be written.

Return value

This function returns TRUE if it succeeds; otherwise, it returns FALSE. When the function returns FALSE, you can call GetLastError to get the corresponding Win32 system error code.

Requirements

Requirement Value
Header msdelta.h
DLL msdelta.dll
Unicode Not applicable

See also

MSDelta

DeltaFree

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 12/03/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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