Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
cmptypes.h File Reference

CMPAPI - Type definitions for Citrix Mobility Pack. More...

Go to the source code of this file.

Defines

#define VARIANT_BOOL_TO_BOOL(x)   ((x != VARIANT_FALSE) ? TRUE : FALSE)
#define BOOL_TO_VARIANT_BOOL(x)   ((x != FALSE) ? VARIANT_TRUE : VARIANT_FALSE)
#define bool_TO_VARIANT_BOOL(x)   ((x != false) ? VARIANT_TRUE : VARIANT_FALSE)
#define bool_TO_BOOL(x)   ((x != false) ? TRUE : FALSE)
#define BOOL_TO_bool(x)   ((x != FALSE) ? true : false)

Typedefs

typedef INT CMPRESULT
 CMP RESULT value (INT32) which corresponds to CMP_ERROR_ID enumeration.
typedef INT CMP_CHANNEL_FLAGS
 Reserved. Currently not used.
typedef INT CMP_UNIQUE_ID
 Unique Id for the request. Used to identify a request and pair it with an event.
typedef LONGLONG CMP_UNIQUE_LONG_ID
typedef SHORT CMP_KEY_ID
 Used with capability identifiers. Each capability has a range of keys that uniquely identifies a requested capability setting.

Detailed Description

CMPAPI - Type definitions for Citrix Mobility Pack.


Define Documentation

#define bool_TO_BOOL (   x)    ((x != false) ? TRUE : FALSE)
#define BOOL_TO_bool (   x)    ((x != FALSE) ? true : false)
#define BOOL_TO_VARIANT_BOOL (   x)    ((x != FALSE) ? VARIANT_TRUE : VARIANT_FALSE)
#define bool_TO_VARIANT_BOOL (   x)    ((x != false) ? VARIANT_TRUE : VARIANT_FALSE)
#define VARIANT_BOOL_TO_BOOL (   x)    ((x != VARIANT_FALSE) ? TRUE : FALSE)

Typedef Documentation

Reserved. Currently not used.

Used with capability identifiers. Each capability has a range of keys that uniquely identifies a requested capability setting.

Unique Id for the request. Used to identify a request and pair it with an event.

typedef LONGLONG CMP_UNIQUE_LONG_ID
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines