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

JetGetSessionParameter Function

· 52CE 我爱测

Learn more about: JetGetSessionParameter Function

Applies to: Windows | Windows Server

The JetGetSessionParameter function reads the session parameter for the given session.

The JetGetSessionParameter function was introduced in the Windows 8 operating system.

JET_ERR JET_API JetGetSessionParameter (
  __in_opt      JET_SESID sesid,
  __in          unsigned long sesparamid,
  __out_cap_post_count_(cbParamMax, *pcbParamActual)  void* pvParam,
  __in          unsigned long cbParamMax,
  __out_opt_    unsigned long pcbParamActual
);

Parameters

sesid

The session to use for this call.

When specified, the specified instance is ignored and the instance associated with the session will be used.

sesparamid

The ID of the session parameter to set.

pvParam

Data in this session parameter.

cbParamMax

The maximum size of the data set in this session parameter.

pcbParamActual

The actual size of the data set in this session parameter.

Return value

On success, the output buffer appropriate for the requested session parameter will be set to the value of that session parameter.

On failure, the state of the output buffers will be undefined.

Remarks

The session parameter is used for the lifetime of the session or until the value is reset.

Requirements
Requirement Value
Client Requires Windows 8.
Server Requires Windows Server 2012.
Header Declared in Esent.h.
Library Use ESENT.lib.
DLL Requires ESENT.dll.
See also

JET_API_PTR
JET_ERR
JET_INSTANCE
JET_SESID
JetCreateInstance
JetInit
JetSetSystemParameter
JetStopService
System Parameters

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)

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

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