Creates a Trusted Application object.
#include <gwtapp.h> INT WINAPI CreateTrustedAppObject( char *szDomainPath, char *szAppName, char *szAppDesc, char *szTCPAddress, WORD uwTCPPort, BOOL bSSLRequired, BOOL bRequiresQueueing, BOOL bMessageRetention, BOOL bOverwrite, char *szTrustedAppKey);
(IN) Points to an ASCII path to the primary domain. Maximum length: 260 bytes.
(IN) Points to the name of the trusted application. The application names must be unique when the application is installed more than once.
(IN) Points to a description of the trusted application for display in ConsoleOne or other utility (optional).
(IN) Points to the IP Address of the of the machine where the trusted application can be run (optional). The IP address can be in DNS or dotted format.
(IN) Specifies IP Port of the machine where the trusted application can be run (optional).
(IN) Specifies TRUE or FALSE to indicate the trusted application connection requires SSL.
(IN) Is currently not implemented.
(IN) Specifies TRUE or FALSE to indicate whether the trusted application provides message retention services.
(IN) Specifies true or false to indicate the trusted application should overwrite a trusted application record with the same application name.
(OUT) Points to the unique access key assigned to the trusted application. Returns a 64 byte key plus null.
Value |
Constant |
---|---|
0 |
SUCCESS |
1 |
INIT_ERROR |
2 |
CONNECT_ERROR |
3 |
NEW_RECORD_ERROR |
4 |
FIELD_ERROR |
5 |
GET_RECORD_ERROR |
6 |
NOT_UNIQUE_ERROR |
7 |
OVERWRITE_ERROR |
8 |
GET_RECORD_ID_ERROR |
11 |
AUTHENTICATION_ERROR |