Citrix Common Connection Manager SDK

Appendix

Type definitions

Data Type Definition
Long CCMResult
Char CCMBool
Char CCMChar
Long CCMConnectionID
Long CCMSessionID
Long CCMApplicationID
Long CCMPid
unsigned int CCMWindowID

Structures

typedef struct _CCM_Name_Value_Pair_
{
 IDL_STRING CCMChar* Name; //Name
 IDL_STRING CCMChar* Value; // value
 } CCM_Name_Value_Pair, *PCCM_Name_Value_Pair;
<!--NeedCopy-->
typedef struct _CCM_ICASession_
{
 CCMSessionID        SessionID;
 CCMConnectionID     ConnectionID;
 IDL_STRING CCMChar* FriendlyName;
 IDL_STRING CCMChar* NonSeamlessAppTitle;
 unsigned long       IsFullScreen;
 unsigned long       Ssl;
 IDL_STRING CCMChar* EncryptionLevel;
 IDL_STRING CCMChar* EngineVersion;
 IDL_STRING CCMChar* ServerName;
 IDL_STRING CCMChar* UserName;
 IDL_STRING CCMChar* DomainName;
 unsigned long       RxFrameCount;
 unsigned long       TxFrameCount;
 unsigned long       RxByteCount;
 unsigned long       TxByteCount;
 unsigned long       RxFrameErrorCount;
 unsigned long       TxFrameErrorCount;
 unsigned long       SeamlessMode;
 unsigned long       ZlMode;
 unsigned long       CGP;
 unsigned long       SpeedBrowseEnabled;
 unsigned long       LastLatency;
 unsigned long       AverageLatency;
 unsigned long       RoundTripDeviation;
 unsigned long       HRes;
 unsigned long       VRes;
 unsigned long       ColorDepth;
 unsigned long       AudioEnabled;
 unsigned long       PdaEnabled;
 unsigned long       TwnEnabled;
 unsigned long       PnpEnabled;
} CCM_ICASession, *PCCM_ICASession;
<!--NeedCopy-->
typedef struct _CCM_ICAApplication_
{
 CCMApplicationID    ApplicationID;
 CCMSessionID        SessionID;
 IDL_STRING CCMChar* FriendlyName;
 IDL_STRING CCMChar* Title;
 IDL_STRING CCMChar* ClassName;
 unsigned long       IconSize;# ifdef CCM_IDL

 [size_is(IconSize)]# endif

 unsigned char*      IconData;
     unsigned long       hIcon;
} CCM_ICAApplication, *PCCM_ICAApplication;
<!--NeedCopy-->

CCM SDK error codes and macros

Error No Define Name Ver
0 CCM_OK 1
65535 CCM_ERROR_BASE 1
65534 CCM_ERROR_UNEXPECTED 1
65533 CCM_ERROR_UNINITIALIZED 1
65532 CCM_ERROR_COMMUNICATION 1
65531 CCM_ERROR_OUT_OF_MEMORY 1
65530 CCM_ERROR_INVALID_ARGUMENT 1
65529 CCM_ERROR_AUTHORIZATION_FAILED 1
65528 CCM_ERROR_CONNECTION_NOT_FOUND 1
65527 CCM_ERROR_SESSION_NOT_FOUND 1
65526 CCM_ERROR_APPLICATION_NOT_FOUND 1
65525 CCM_ERROR_ATTRIBUTE_NOT_FOUND 1
65524 CCM_ERROR_SRP_NOT_ENABLED 1
65523 CCM_ERROR_DEAD 1
65522 CCM_ERROR_INITIALIZATION_FAILED 1
65521 CCM_ERROR_ALREADY_INITIALIZED 1
61440 CCM_ERROR_BOTTOM 1
61439 CCMSE_ERROR_BASE 1
61439 CCMSE_ERROR_WINDOW_POSITION 1
61438 CCMSE_ERROR_RESIZING_APPLICATION 1
61437 CCMSE_ERROR_DRIVER_NOT_LOADED 1
61436 CCMSE_ERROR_PROPERTY 1
61435 CCMSE_ERROR_SCALING 1
61434 CCMSE_ERROR_KB 1
61433 CCMSE_ERROR_MOUSE 1
61432 CCMSE_ERROR_HEADLESS_DISABLED 1
61431 CCMSE_ERROR_POST_MESSAGE 1
16383 CCM_CLIENT_ERROR_BASE 1
16382 CCM_CLIENT_RSTRAY_ERROR 1
1 CCM_CLIENT_ERROR_BOTTOM 1
Appendix