Mobile API Reference  MicroStrategy 2019
Msi_variant.h File Reference

Go to the source code of this file.

Classes

struct  tagVARIANT
 

Macros

#define FARSTRUCT
 
#define VARIANT_NOVALUEPROP   0x01
 
#define VARIANT_ALPHABOOL   0x02
 
#define VARIANT_NOUSEROVERRIDE   0x04
 
#define VARIANT_CALENDAR_HIJRI   0x08
 
#define VARIANT_LOCALBOOL   0x10
 
#define VARCMP_LT   0
 
#define VARCMP_EQ   1
 
#define VARCMP_GT   2
 
#define VARCMP_NULL   3
 
#define V_UNION(X, Y)   ((X)->Y)
 
#define V_VT(X)   ((X)->vt)
 
#define V_RECORDINFO(X)   ((X)->pRecInfo)
 
#define V_RECORD(X)   ((X)->pvRecord)
 
#define V_ISBYREF(X)   (V_VT(X)&VT_BYREF)
 
#define V_ISARRAY(X)   (V_VT(X)&VT_ARRAY)
 
#define V_ISVECTOR(X)   (V_VT(X)&VT_VECTOR)
 
#define V_NONE(X)   V_I2(X)
 
#define V_UI1(X)   V_UNION(X, bVal)
 
#define V_UI1REF(X)   V_UNION(X, pbVal)
 
#define V_I2(X)   V_UNION(X, iVal)
 
#define V_I2REF(X)   V_UNION(X, piVal)
 
#define V_I4(X)   V_UNION(X, lVal)
 
#define V_I4REF(X)   V_UNION(X, plVal)
 
#define V_I8(X)   V_UNION(X, llVal)
 
#define V_I8REF(X)   V_UNION(X, pllVal)
 
#define V_R4(X)   V_UNION(X, fltVal)
 
#define V_R4REF(X)   V_UNION(X, pfltVal)
 
#define V_R8(X)   V_UNION(X, dblVal)
 
#define V_R8REF(X)   V_UNION(X, pdblVal)
 
#define V_I1(X)   V_UNION(X, cVal)
 
#define V_I1REF(X)   V_UNION(X, pcVal)
 
#define V_UI2(X)   V_UNION(X, uiVal)
 
#define V_UI2REF(X)   V_UNION(X, puiVal)
 
#define V_UI4(X)   V_UNION(X, ulVal)
 
#define V_UI4REF(X)   V_UNION(X, pulVal)
 
#define V_UI8(X)   V_UNION(X, ullVal)
 
#define V_UI8REF(X)   V_UNION(X, pullVal)
 
#define V_INT(X)   V_UNION(X, intVal)
 
#define V_INTREF(X)   V_UNION(X, pintVal)
 
#define V_UINT(X)   V_UNION(X, uintVal)
 
#define V_UINTREF(X)   V_UNION(X, puintVal)
 
#define V_CY(X)   V_UNION(X, cyVal)
 
#define V_CYREF(X)   V_UNION(X, pcyVal)
 
#define V_DATE(X)   V_UNION(X, date)
 
#define V_DATEREF(X)   V_UNION(X, pdate)
 
#define V_BSTR(X)   V_UNION(X, bstrVal)
 
#define V_BSTRREF(X)   V_UNION(X, pbstrVal)
 
#define V_DISPATCH(X)   V_UNION(X, pdispVal)
 
#define V_DISPATCHREF(X)   V_UNION(X, ppdispVal)
 
#define V_ERROR(X)   V_UNION(X, scode)
 
#define V_ERRORREF(X)   V_UNION(X, pscode)
 
#define V_BOOL(X)   V_UNION(X, boolVal)
 
#define V_BOOLREF(X)   V_UNION(X, pboolVal)
 
#define V_UNKNOWN(X)   V_UNION(X, punkVal)
 
#define V_UNKNOWNREF(X)   V_UNION(X, ppunkVal)
 
#define V_VARIANTREF(X)   V_UNION(X, pvarVal)
 
#define V_ARRAY(X)   V_UNION(X, parray)
 
#define V_ARRAYREF(X)   V_UNION(X, pparray)
 
#define V_BYREF(X)   V_UNION(X, byref)
 
#define V_DECIMAL(X)   V_UNION(X, decVal)
 
#define V_DECIMALREF(X)   V_UNION(X, pdecVal)
 
#define VTBIT_I1   (1 << VT_I1)
 
#define VTBIT_UI1   (1 << VT_UI1)
 
#define VTBIT_I2   (1 << VT_I2)
 
#define VTBIT_UI2   (1 << VT_UI2)
 
#define VTBIT_I4   (1 << VT_I4)
 
#define VTBIT_UI4   (1 << VT_UI4)
 
#define VTBIT_I8   (1 << VT_I8)
 
#define VTBIT_UI8   (1 << VT_UI8)
 
#define VTBIT_R4   (1 << VT_R4)
 
#define VTBIT_R8   (1 << VT_R8)
 
#define VTBIT_CY   (1 << VT_CY)
 
#define VTBIT_DECIMAL   (1 << VT_DECIMAL)
 
#define VTBIT_BOOL   (1 << VT_BOOL)
 
#define VTBIT_BSTR   (1 << VT_BSTR)
 
#define VTBIT_DATE   (1 << VT_DATE)
 
#define VTBIT_DISPATCH   (1 << VT_DISPATCH)
 
#define VTBIT_EMPTY   (1 << VT_EMPTY)
 
#define VTBIT_ERROR   (1 << VT_ERROR)
 
#define VTBIT_INT   (1 << VT_INT)
 
#define VTBIT_NULL   (1 << VT_NULL)
 
#define VTBIT_UINT   (1 << VT_UINT)
 
#define VTBIT_UNKNOWN   (1 << VT_UNKNOWN)
 
#define VTBIT_VARIANT   (1 << VT_VARIANT)
 
#define VTBIT_15   (1 << 15) /* no variant type with this number */
 

Typedefs

typedef unsigned short VARTYPE
 
typedef struct tagVARIANT VARIANT
 
typedef VARIANT __RPC_FARLPVARIANT
 
typedef VARIANT VARIANTARG
 
typedef struct tagVARIANT tagVARIANT
 

Enumerations

enum  EnumVariantType {
  VT_EMPTY = 0, VT_NULL = 1, VT_I2 = 2, VT_I4 = 3,
  VT_R4 = 4, VT_R8 = 5, VT_CY = 6, VT_DATE = 7,
  VT_BSTR = 8, VT_DISPATCH = 9, VT_ERROR = 10, VT_BOOL = 11,
  VT_VARIANT = 12, VT_UNKNOWN = 13, VT_DECIMAL = 14, VT_I1 = 16,
  VT_UI1 = 17, VT_UI2 = 18, VT_UI4 = 19, VT_I8 = 20,
  VT_UI8 = 21, VT_INT = 22, VT_UINT = 23, VT_VOID = 24,
  VT_HRESULT = 25, VT_PTR = 26, VT_SAFEARRAY = 27, VT_CARRAY = 28,
  VT_USERDEFINED = 29, VT_LPSTR = 30, VT_LPWSTR = 31, VT_RECORD = 36,
  VT_FILETIME = 64, VT_BLOB = 65, VT_STREAM = 66, VT_STORAGE = 67,
  VT_STREAMED_OBJECT = 68, VT_STORED_OBJECT = 69, VT_BLOB_OBJECT = 70, VT_CF = 71,
  VT_CLSID = 72, VT_BSTR_BLOB = 0xfff, VT_VECTOR = 0x1000, VT_ARRAY = 0x2000,
  VT_BYREF = 0x4000, VT_RESERVED = 0x8000, VT_ILLEGAL = 0xffff, VT_ILLEGALMASKED = 0xfff,
  VT_TYPEMASK = 0xfff
}
 

Functions

 WINOLEAUTAPI_ (void) DLL_MSICOM_EXIM VariantInit(VARIANTARG *pvarg)
 
WINOLEAUTAPI DLL_MSICOM_EXIM VariantClear (VARIANTARG *pvarg)
 
WINOLEAUTAPI DLL_MSICOM_EXIM VariantCopy (VARIANTARG *pvargDest, VARIANTARG *pvargSrc)
 
WINOLEAUTAPI DLL_MSICOM_EXIM VariantCopyInd (VARIANT *pvargDest, VARIANTARG *pvargSrc)
 
WINOLEAUTAPI DLL_MSICOM_EXIM VariantChangeType (VARIANTARG *pvargDest, VARIANTARG *pvarSrc, USHORT wFlags, VARTYPE vt)
 
WINOLEAUTAPI DLL_MSICOM_EXIM VariantChangeTypeEx (VARIANTARG *pvargDest, VARIANTARG *pvarSrc, LCID lcid, USHORT wFlags, VARTYPE vt)
 
WINOLEAUTAPI DLL_MSICOM_EXIM VarCmp (LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
 

Macro Definition Documentation

◆ FARSTRUCT

#define FARSTRUCT

◆ V_ARRAY

#define V_ARRAY (   X)    V_UNION(X, parray)

◆ V_ARRAYREF

#define V_ARRAYREF (   X)    V_UNION(X, pparray)

◆ V_BOOL

#define V_BOOL (   X)    V_UNION(X, boolVal)

◆ V_BOOLREF

#define V_BOOLREF (   X)    V_UNION(X, pboolVal)

◆ V_BSTR

#define V_BSTR (   X)    V_UNION(X, bstrVal)

◆ V_BSTRREF

#define V_BSTRREF (   X)    V_UNION(X, pbstrVal)

◆ V_BYREF

#define V_BYREF (   X)    V_UNION(X, byref)

◆ V_CY

#define V_CY (   X)    V_UNION(X, cyVal)

◆ V_CYREF

#define V_CYREF (   X)    V_UNION(X, pcyVal)

◆ V_DATE

#define V_DATE (   X)    V_UNION(X, date)

◆ V_DATEREF

#define V_DATEREF (   X)    V_UNION(X, pdate)

◆ V_DECIMAL

#define V_DECIMAL (   X)    V_UNION(X, decVal)

◆ V_DECIMALREF

#define V_DECIMALREF (   X)    V_UNION(X, pdecVal)

◆ V_DISPATCH

#define V_DISPATCH (   X)    V_UNION(X, pdispVal)

◆ V_DISPATCHREF

#define V_DISPATCHREF (   X)    V_UNION(X, ppdispVal)

◆ V_ERROR

#define V_ERROR (   X)    V_UNION(X, scode)

◆ V_ERRORREF

#define V_ERRORREF (   X)    V_UNION(X, pscode)

◆ V_I1

#define V_I1 (   X)    V_UNION(X, cVal)

◆ V_I1REF

#define V_I1REF (   X)    V_UNION(X, pcVal)

◆ V_I2

#define V_I2 (   X)    V_UNION(X, iVal)

◆ V_I2REF

#define V_I2REF (   X)    V_UNION(X, piVal)

◆ V_I4

#define V_I4 (   X)    V_UNION(X, lVal)

◆ V_I4REF

#define V_I4REF (   X)    V_UNION(X, plVal)

◆ V_I8

#define V_I8 (   X)    V_UNION(X, llVal)

◆ V_I8REF

#define V_I8REF (   X)    V_UNION(X, pllVal)

◆ V_INT

#define V_INT (   X)    V_UNION(X, intVal)

◆ V_INTREF

#define V_INTREF (   X)    V_UNION(X, pintVal)

◆ V_ISARRAY

#define V_ISARRAY (   X)    (V_VT(X)&VT_ARRAY)

◆ V_ISBYREF

#define V_ISBYREF (   X)    (V_VT(X)&VT_BYREF)

◆ V_ISVECTOR

#define V_ISVECTOR (   X)    (V_VT(X)&VT_VECTOR)

◆ V_NONE

#define V_NONE (   X)    V_I2(X)

◆ V_R4

#define V_R4 (   X)    V_UNION(X, fltVal)

◆ V_R4REF

#define V_R4REF (   X)    V_UNION(X, pfltVal)

◆ V_R8

#define V_R8 (   X)    V_UNION(X, dblVal)

◆ V_R8REF

#define V_R8REF (   X)    V_UNION(X, pdblVal)

◆ V_RECORD

#define V_RECORD (   X)    ((X)->pvRecord)

◆ V_RECORDINFO

#define V_RECORDINFO (   X)    ((X)->pRecInfo)

◆ V_UI1

#define V_UI1 (   X)    V_UNION(X, bVal)

◆ V_UI1REF

#define V_UI1REF (   X)    V_UNION(X, pbVal)

◆ V_UI2

#define V_UI2 (   X)    V_UNION(X, uiVal)

◆ V_UI2REF

#define V_UI2REF (   X)    V_UNION(X, puiVal)

◆ V_UI4

#define V_UI4 (   X)    V_UNION(X, ulVal)

◆ V_UI4REF

#define V_UI4REF (   X)    V_UNION(X, pulVal)

◆ V_UI8

#define V_UI8 (   X)    V_UNION(X, ullVal)

◆ V_UI8REF

#define V_UI8REF (   X)    V_UNION(X, pullVal)

◆ V_UINT

#define V_UINT (   X)    V_UNION(X, uintVal)

◆ V_UINTREF

#define V_UINTREF (   X)    V_UNION(X, puintVal)

◆ V_UNION

#define V_UNION (   X,
 
)    ((X)->Y)

◆ V_UNKNOWN

#define V_UNKNOWN (   X)    V_UNION(X, punkVal)

◆ V_UNKNOWNREF

#define V_UNKNOWNREF (   X)    V_UNION(X, ppunkVal)

◆ V_VARIANTREF

#define V_VARIANTREF (   X)    V_UNION(X, pvarVal)

◆ V_VT

#define V_VT (   X)    ((X)->vt)

◆ VARCMP_EQ

#define VARCMP_EQ   1

◆ VARCMP_GT

#define VARCMP_GT   2

◆ VARCMP_LT

#define VARCMP_LT   0

◆ VARCMP_NULL

#define VARCMP_NULL   3

◆ VARIANT_ALPHABOOL

#define VARIANT_ALPHABOOL   0x02

◆ VARIANT_CALENDAR_HIJRI

#define VARIANT_CALENDAR_HIJRI   0x08

◆ VARIANT_LOCALBOOL

#define VARIANT_LOCALBOOL   0x10

◆ VARIANT_NOUSEROVERRIDE

#define VARIANT_NOUSEROVERRIDE   0x04

◆ VARIANT_NOVALUEPROP

#define VARIANT_NOVALUEPROP   0x01

◆ VTBIT_15

#define VTBIT_15   (1 << 15) /* no variant type with this number */

◆ VTBIT_BOOL

#define VTBIT_BOOL   (1 << VT_BOOL)

◆ VTBIT_BSTR

#define VTBIT_BSTR   (1 << VT_BSTR)

◆ VTBIT_CY

#define VTBIT_CY   (1 << VT_CY)

◆ VTBIT_DATE

#define VTBIT_DATE   (1 << VT_DATE)

◆ VTBIT_DECIMAL

#define VTBIT_DECIMAL   (1 << VT_DECIMAL)

◆ VTBIT_DISPATCH

#define VTBIT_DISPATCH   (1 << VT_DISPATCH)

◆ VTBIT_EMPTY

#define VTBIT_EMPTY   (1 << VT_EMPTY)

◆ VTBIT_ERROR

#define VTBIT_ERROR   (1 << VT_ERROR)

◆ VTBIT_I1

#define VTBIT_I1   (1 << VT_I1)

◆ VTBIT_I2

#define VTBIT_I2   (1 << VT_I2)

◆ VTBIT_I4

#define VTBIT_I4   (1 << VT_I4)

◆ VTBIT_I8

#define VTBIT_I8   (1 << VT_I8)

◆ VTBIT_INT

#define VTBIT_INT   (1 << VT_INT)

◆ VTBIT_NULL

#define VTBIT_NULL   (1 << VT_NULL)

◆ VTBIT_R4

#define VTBIT_R4   (1 << VT_R4)

◆ VTBIT_R8

#define VTBIT_R8   (1 << VT_R8)

◆ VTBIT_UI1

#define VTBIT_UI1   (1 << VT_UI1)

◆ VTBIT_UI2

#define VTBIT_UI2   (1 << VT_UI2)

◆ VTBIT_UI4

#define VTBIT_UI4   (1 << VT_UI4)

◆ VTBIT_UI8

#define VTBIT_UI8   (1 << VT_UI8)

◆ VTBIT_UINT

#define VTBIT_UINT   (1 << VT_UINT)

◆ VTBIT_UNKNOWN

#define VTBIT_UNKNOWN   (1 << VT_UNKNOWN)

◆ VTBIT_VARIANT

#define VTBIT_VARIANT   (1 << VT_VARIANT)

Typedef Documentation

◆ LPVARIANT

◆ tagVARIANT

typedef struct tagVARIANT tagVARIANT

◆ VARIANT

typedef struct tagVARIANT VARIANT

◆ VARIANTARG

◆ VARTYPE

typedef unsigned short VARTYPE

Enumeration Type Documentation

◆ EnumVariantType

Enumerator
VT_EMPTY 
VT_NULL 
VT_I2 
VT_I4 
VT_R4 
VT_R8 
VT_CY 
VT_DATE 
VT_BSTR 
VT_DISPATCH 
VT_ERROR 
VT_BOOL 
VT_VARIANT 
VT_UNKNOWN 
VT_DECIMAL 
VT_I1 
VT_UI1 
VT_UI2 
VT_UI4 
VT_I8 
VT_UI8 
VT_INT 
VT_UINT 
VT_VOID 
VT_HRESULT 
VT_PTR 
VT_SAFEARRAY 
VT_CARRAY 
VT_USERDEFINED 
VT_LPSTR 
VT_LPWSTR 
VT_RECORD 
VT_FILETIME 
VT_BLOB 
VT_STREAM 
VT_STORAGE 
VT_STREAMED_OBJECT 
VT_STORED_OBJECT 
VT_BLOB_OBJECT 
VT_CF 
VT_CLSID 
VT_BSTR_BLOB 
VT_VECTOR 
VT_ARRAY 
VT_BYREF 
VT_RESERVED 
VT_ILLEGAL 
VT_ILLEGALMASKED 
VT_TYPEMASK 

Function Documentation

◆ VarCmp()

WINOLEAUTAPI DLL_MSICOM_EXIM VarCmp ( LPVARIANT  left,
LPVARIANT  right,
LCID  lcid,
DWORD  flags 
)

◆ VariantChangeType()

WINOLEAUTAPI DLL_MSICOM_EXIM VariantChangeType ( VARIANTARG pvargDest,
VARIANTARG pvarSrc,
USHORT  wFlags,
VARTYPE  vt 
)

◆ VariantChangeTypeEx()

WINOLEAUTAPI DLL_MSICOM_EXIM VariantChangeTypeEx ( VARIANTARG pvargDest,
VARIANTARG pvarSrc,
LCID  lcid,
USHORT  wFlags,
VARTYPE  vt 
)

◆ VariantClear()

WINOLEAUTAPI DLL_MSICOM_EXIM VariantClear ( VARIANTARG pvarg)

◆ VariantCopy()

WINOLEAUTAPI DLL_MSICOM_EXIM VariantCopy ( VARIANTARG pvargDest,
VARIANTARG pvargSrc 
)

◆ VariantCopyInd()

WINOLEAUTAPI DLL_MSICOM_EXIM VariantCopyInd ( VARIANT pvargDest,
VARIANTARG pvargSrc 
)

◆ WINOLEAUTAPI_()

WINOLEAUTAPI_ ( void  )