Vendor-Specified License Manager Initialization
Using the VLSserverVendorInitialize function, you can register the following:
>The License Manager hooks
>The custom Host ID lock function
>The custom extended lock function
>Or, any additional task that you want to perform at the time of the License Manager initialization.
Executables to Rebuild
The License Manager executable needs to be rebuild. Refer to the How to Use the custom32.mak File?
Description
The VLSserverVendorInitialize function is called while initializing the License Manager. You can perform vendor-specific initialization using this function while starting the License Manager.
Function Prototype
LSERV_STATUS VLSserverVendorInitialize(void);
Returns
Returns LS_SUCCESS(0) on success.
Returns non-zero on failure.
Steps to Perform
1. Create the VLSserverVendorInitialize function.
2. Update the SRV_VENDOR_INIT_OBJS variable in the custom32.mak file.
3.Follow the build procedure specified in How to Use the custom32.mak File?.
Code Snippet
LSERV_STATUS VLSserverVendorInitialize(void)
{
/* TODO: Register hook functions (if any) */
/* TODO: Register custom host ID function (if any) */
/* TODO: Register extended custom value function (if any)*/
/* TODO: add vendor-specific initialization */
return LS_SUCCESS;
}