GetSession function
获取指定 Session 变量的值(如需获取 bytes 类型的变量应使用 GetSessionEx function)
Function:
LPCSTR UAPI GetSession(
int hSession,
LPCSTR lpcName
);
Parameters:
- hSession [in]:Session 句柄
- lpcName [in]:变量名
Return value:
- Type:LPCSTR
- Text:成功返回指定变量的值,失败返回 NULLPTR
Requirements:
| Keyword | Value |
|---|---|
| Minimum Agine Version | 171012.1 |
| Minimum SDK Version | 171012.1 |
| Header File | h.message |
| Library Server | kext |