大网数据广告活动
磁盘与文件系统

Callback Parameters

· 52CE 我爱测

Learn more about: Callback Parameters

Applies to: Windows | Windows Server

Callback Parameters

This topic contains parameters that are used for callbacks.

JET_paramDisableCallbacks
65

This parameter disables all database engine callbacks to application provided functions. It is primarily intended to support the database engine utilities and is not intended to be used in your application.

Label Value
Default Value: False
Type: Boolean
Valid Range: False, True
Scope: Instance
Set After <a href="gg269354(v=exchg.10).md">JetCreateInstance</a>: Yes
Set after <a href="gg294068(v=exchg.10).md">JetInit</a>: No
Affects Physical Layout: No
Affects Reliability: No
Affects Performance: No
Affects Resources: No
Availability: Windows XP and later releases

JET_paramEnablePersistedCallbacks
156

This parameter enables the use of persistent callbacks in the database. In releases prior to Windows Vista, the use of persistent callbacks was enabled by default. Applications must now explicitly enable the use of persistent callbacks at runtime using this parameter. If this parameter is not set, then any database operation that requires the invocation of a callback will fail with JET_errCallbackFailed. This parameter does not affect any callbacks that are specified at runtime with the following mechanisms: JET_paramRuntimeCallback, JetRegisterCallback, or an explicit callback parameter to a JET API. It is still possible to create schema elements that contain persistent callbacks even when the use of those persistent callbacks is disallowed. When this parameter is set to false it overrides JET_paramDisableCallbacks.

Label Value
Default Value: False
Type: Boolean
Valid Range: False, True
Scope: Instance
Set After <a href="gg269354(v=exchg.10).md">JetCreateInstance</a>: Yes
Set after <a href="gg294068(v=exchg.10).md">JetInit</a>: No
Affects Physical Layout: No
Affects Reliability: No
Affects Performance: No
Affects Resources: No
Availability: Windows Vista and later releases

JET_paramRuntimeCallback
73

This parameter configures the engine with a runtime callback function implementing the JET_CALLBACK interface. This callback may be called for the following reasons: JET_cbtypFreeCursorLS, JET_cbtypFreeTableLS, or JET_cbtypNull. Please see JetSetLS for more information.

Label Value
Default Value: NULL
Type: Function Pointer (JET_API_PTR)
Valid Range: NULL, <a href="gg294098(v=exchg.10).md">JET_CALLBACK</a>*
Scope: Instance
Set After <a href="gg269354(v=exchg.10).md">JetCreateInstance</a>: Yes
Set after <a href="gg294068(v=exchg.10).md">JetInit</a>: No
Affects Physical Layout: No
Affects Reliability: No
Affects Performance: No
Affects Resources: No
Availability: Windows XP and later releases

Requirements

Requirement Value
Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008 or Windows Server 2003.
Header Declared in Esent.h.

See Also

JET_API_PTR
JET_CALLBACK
JET_CBTYP
JetCreateInstance
JetInit
JetSetLS

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

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

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