Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
cmptypes.h
Go to the documentation of this file.
00001 
00011 #pragma once
00012 
00013 // macros to convert between VARIANT_BOOL and BOOL
00014 #define VARIANT_BOOL_TO_BOOL(x) ((x != VARIANT_FALSE) ? TRUE : FALSE)
00015 #define BOOL_TO_VARIANT_BOOL(x) ((x != FALSE) ? VARIANT_TRUE : VARIANT_FALSE)
00016 #define bool_TO_VARIANT_BOOL(x) ((x != false) ? VARIANT_TRUE : VARIANT_FALSE)
00017 
00018 // convert between bool and BOOL
00019 #define bool_TO_BOOL(x) ((x != false) ? TRUE : FALSE)
00020 #define BOOL_TO_bool(x) ((x != FALSE) ? true : false)
00021 
00029 #ifdef CMPCOM
00030 [export, public]
00031 #endif
00032 typedef INT CMPRESULT;
00033 
00041 #ifdef CMPCOM
00042 [export, public]
00043 #endif
00044 typedef INT CMP_CHANNEL_FLAGS;
00045 
00053 #ifdef CMPCOM
00054 [export, public]
00055 #endif
00056 typedef INT CMP_UNIQUE_ID;
00057 
00065 #ifdef CMPCOM
00066 [export, public]
00067 #endif
00068 typedef LONGLONG CMP_UNIQUE_LONG_ID;
00069 
00078 #ifdef CMPCOM
00079 [export, public]
00080 #endif
00081 typedef SHORT CMP_KEY_ID;
00082 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines