Description

Used to force a detached network license to be returned to the common pool. The function cancels the registration of the detached license on the recipient computer before its expiration. The resulting buffer must be transferred to the donor computer and returned to the common pool using the GrdLicenseInstall() function.

Syntax

int GRD_API GrdLicenseReturnToPool(grd_uint32 licenseId,
								   void** licenseToReturn,
								   grd_uint32* licenseToReturnSize);

Parameters

licenseId
License ID that is previously detached
licenseToReturn

Pointer to the returned license buffer. Data in base64 format

licenseToReturnSize

Size (in bytes) of the licenseToReturn buffer

Return values

GRD_OK

GRD_INVALID_PARAMETER

  • No labels