haspds_GetLLMSessions

Stops any active LLM service before installation of the Run-time Environment.

haspds_status_t  __stdcall 
haspds_GetLLMSessions
(
LLM_SESSIONS*    Buffer,
size_t*          size
)

Parameters

Buffer

Buffer to receive the sessions. If Buffer == NULL, the required size for the buffer is returned in the size parameter, and the returned value is HASPDS_STATUS_SMALL_BUFFER.

size

Required size for the buffer (if Buffer == NULL).

Used on request. Contains the size of Buffer. If size is less that the required information size, the functions returns HASPDS_STATUS_SMALL_BUFFER and the required size in the parameter. In this case, no valid content is returned in Buffer.

Return Values

HASPDS_STATUS_SUCCESS

Function successfully executed

HASPDS_STATUS_SMALL_BUFFER

Memory allocated to structure too small

HASPDS_STATUS_FAILED

Function failed to execute

You can retrieve additional information about an error by calling haspds_GetLastError.

Related Topics

LLM_SESSIONS Structure

haspds_GetLastError

haspds_GetLastErrorMessage

Error_Messages