AdsMgGetInstallInfo

Returns server installation information.

Syntax

UNSIGNED32 AdsMgGetInstallInfo(ADSHANDLE hMg, void* pInfo,
                               UNSIGNED16* pusSize);

Parameters

Parameter

Type

Description

hMg

ADSHANDLE

Management connection handle.

pInfo

void*

Pointer to the output ADS_MGMT_INSTALL_INFO structure.

pusSize

UNSIGNED16*

Structure size (input) and bytes written (output).

Return Value

AE_SUCCESS (0) on success. Error code on failure.

Description

AdsMgGetInstallInfo returns information about the Advantage server installation, including registered owner, version, installation date, character set, evaluation expiration date, and serial number.

Example

ADS_MGMT_INSTALL_INFO stInfo;
memset(&stInfo, 0, sizeof(stInfo));
UNSIGNED16 usSize = sizeof(stInfo);
AdsMgGetInstallInfo(hMgmt, &stInfo, &usSize);
printf("Version: %s\n", stInfo.aucVersionStr);

See Also


AdsMgGetLockOwner →



This site uses Just the Docs, a documentation theme for Jekyll.