This function registers a new Site with Image Server.
Usage in Visual C++/Visual Basic Application
Usage in Visual C++/Visual Basic Application
Prototype
int WINAPI NGISRegisterSite ( LPTSTR cabinetName, LPTSTR siteAddress,
short portId, LPTSTR siteName, PSHORT siteId
)
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
cabinetName |
Name of the Image Cabinet to which the User wants to connect. |
NOT NULL |
Input Parameter |
siteAddress |
Name
or IP of the |
NOT NULL and length less than 20. |
Input Parameter |
portId |
|
short
|
Input Parameter |
siteName |
Logical
|
Not Null and length less than 35 |
Input Parameter |
siteId |
Site
I |
N/A |
Output Parameter |
Output Parameters
Return from this
call is the sStatus
of the call. The Status of the call
is 1 for success and error code for failure.
Prototype
public int JPISRegisterSite ( String cabinetName, String siteAddress, short portId, String siteName,
JPDBShort siteId
)
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
cabinetName |
Name of the Image Cabinet to which the User wants to connect. |
NOT NULL |
Input Parameter |
siteAddress |
Name
or IP of the |
NOT NULL and length less than 20. |
Input Parameter |
portId |
|
short
|
Input Parameter |
siteName |
Logical
|
Not Null and length less than 35. |
Input Parameter |
siteId |
Site
|
N/A |
Output Parameter |
Output Parameters
Return from this
call is the Sstatus of the call.
The Status of the call is 1 for success and errorcode for
failure.