SoftwareShield ClientProtector COM Component > ClientProtector (SSCProtector) Reference > SetUDNumber

SetUDNumber


The SetUDNumber function sets one of the user defined numbers stored in the license based on an index.

Syntax

HRESULT SetUDNumber (

long Index,
long
UDNumber

);

Parameters

Index 

[IN] Numeric index (0 to 4 inclusive) corresponding the user defined number field stored in the license which you wish to set.

 

UDNumber

[IN] This is a 32-bit numeric value which must contain the user defined field value you wish to set corresponding to the index parameter.

Remarks

The SetUDNumber function sets one of the user defined numbers stored in the license based on an index.

If the index passed is not in range (0 to 4 inclusive) the result is undefined.

Return Value

As with all COM function calls they return an HRESULT. HRESULT is a data type that is a 32-bit error or warning code. Check your compilers documentation for information on interpreting the HRESULT value.

Function Information

Exposed By Interface:

"ISSCProtector"

Exposed In COM Server Binaries:

"SSCProt.dll" and "SSCProtD.dll"

Related Topics