#include <winapifamily.h>
#if _MSC_VER >= 1200
#pragma warning(push)
#pragma warning(disable:4001) /* nonstandard extension : single line comment */
#pragma warning(disable:
4001
)
#pragma warning(disable:4820) // padding added after data member
#endif
#pragma warning(disable:
4820
)
#if !defined( _OLEAUTO_H_ )
#define _OLEAUTO_H_
#if _MSC_VER > 1000
#pragma once
#endif
#ifndef RC_INVOKED
#include <pshpack8.h>
#endif // RC_INVOKED
#ifdef _OLEAUT32_
#define WINOLEAUTAPI STDAPI
#define WINOLEAUTAPI_(type) STDAPI_(type)
#else
#define WINOLEAUTAPI EXTERN_C DECLSPEC_IMPORT HRESULT STDAPICALLTYPE
#define WINOLEAUTAPI_(type) EXTERN_C DECLSPEC_IMPORT type STDAPICALLTYPE
#endif
EXTERN_C const IID IID_StdOle;
#define STDOLE_MAJORVERNUM 0x1
#define STDOLE_MINORVERNUM 0x0
#define STDOLE_LCID 0x0000
#define STDOLE2_MAJORVERNUM 0x2
#define STDOLE2_MINORVERNUM 0x0
#define STDOLE2_LCID 0x0000
#ifndef _LCID_DEFINED
typedef DWORD LCID;
# define _LCID_DEFINED
#endif /* _LCID_DEFINED */
#ifndef BEGIN_INTERFACE
#define BEGIN_INTERFACE
#define END_INTERFACE
#endif
#include <oaidl.h>
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI_(BSTR) SysAllocString(_In_opt_z_ const OLECHAR * psz);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
);
WINOLEAUTAPI_(INT) SysReAllocString(_Inout_ _At_(*pbstr, _Pre_z_ _Post_z_ _Post_readable_size_(_String_length_(psz)+1)) BSTR* pbstr, _In_opt_z_ const OLECHAR* psz);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
const
*
);
WINOLEAUTAPI_(_Ret_writes_maybenull_z_(ui+1) BSTR) SysAllocStringLen(_In_reads_opt_(ui) const OLECHAR * strIn, UINT ui);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
);
_Check_return_ WINOLEAUTAPI_(INT) SysReAllocStringLen(_Inout_ _At_(*pbstr, _Pre_z_ _Post_z_ _Post_readable_size_(len+1)) BSTR* pbstr, _In_opt_z_ const OLECHAR* psz, _In_ unsigned int len);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
const
*
,
unsigned
int
);
WINOLEAUTAPI SysAddRefString(_In_ BSTR bstrString);
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI_(void) SysReleaseString(_In_ BSTR bstrString);
extern
"C"
__declspec
(dllimport)
void
__stdcall
(
);
WINOLEAUTAPI_(void) SysFreeString(_In_opt_ BSTR bstrString);
extern
"C"
__declspec
(dllimport)
void
__stdcall
(
);
WINOLEAUTAPI_(_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr)) UINT) SysStringLen(_In_opt_ BSTR pbstr);
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
#if (defined (_WIN32) || defined (_WIN64))
WINOLEAUTAPI_(_Post_equal_to_(_String_length_(bstr) * sizeof(OLECHAR)) UINT) SysStringByteLen(_In_opt_ BSTR bstr);
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI_(BSTR) SysAllocStringByteLen(_In_opt_z_ LPCSTR psz, _In_ UINT len);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
);
#endif /* (defined (_WIN32) || defined (_WIN64)) */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI_(INT) DosDateTimeToVariantTime(_In_ USHORT wDosDate, _In_ USHORT wDosTime, _Out_ DOUBLE * pvtime);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
*
);
WINOLEAUTAPI_(INT) VariantTimeToDosDateTime(_In_ DOUBLE vtime, _Out_ USHORT * pwDosDate, _Out_ USHORT * pwDosTime);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#if (defined (_WIN32) || defined (_WIN64))
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI_(INT) SystemTimeToVariantTime(_In_ LPSYSTEMTIME lpSystemTime, _Out_ DOUBLE *pvtime);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI_(INT) VariantTimeToSystemTime(_In_ DOUBLE vtime, _Out_ LPSYSTEMTIME lpSystemTime);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#endif /* (defined (_WIN32) || defined (_WIN64)) */
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI SafeArrayAllocDescriptor(_In_ UINT cDims, _Outptr_ SAFEARRAY ** ppsaOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
**
);
WINOLEAUTAPI SafeArrayAllocDescriptorEx(_In_ VARTYPE vt, _In_ UINT cDims, _Outptr_ SAFEARRAY ** ppsaOut);
extern
"C"
__declspec
(dllimport)
__stdcall
SafeArrayAllocDescriptorEx
(
,
,
**
);
WINOLEAUTAPI SafeArrayAllocData(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreate(_In_ VARTYPE vt, _In_ UINT cDims, _In_ SAFEARRAYBOUND * rgsabound);
extern
"C"
__declspec
(dllimport)
*
__stdcall
(
,
,
*
);
WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateEx(_In_ VARTYPE vt, _In_ UINT cDims, _In_ SAFEARRAYBOUND * rgsabound, _In_ PVOID pvExtra);
extern
"C"
__declspec
(dllimport)
*
__stdcall
(
,
,
*
,
);
_Check_return_
WINOLEAUTAPI SafeArrayCopyData(_In_ SAFEARRAY *psaSource, _In_ SAFEARRAY *psaTarget);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
WINOLEAUTAPI_(void) SafeArrayReleaseDescriptor(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
void
__stdcall
SafeArrayReleaseDescriptor
(
*
);
WINOLEAUTAPI SafeArrayDestroyDescriptor(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
SafeArrayDestroyDescriptor
(
*
);
WINOLEAUTAPI_(void) SafeArrayReleaseData(_In_ PVOID pData);
extern
"C"
__declspec
(dllimport)
void
__stdcall
(
);
WINOLEAUTAPI SafeArrayDestroyData(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI SafeArrayAddRef(_In_ SAFEARRAY * psa, _Out_ PVOID *ppDataToRelease);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
WINOLEAUTAPI SafeArrayDestroy(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI SafeArrayRedim(_Inout_ SAFEARRAY * psa, _In_ SAFEARRAYBOUND * psaboundNew);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
WINOLEAUTAPI_(UINT) SafeArrayGetDim(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI_(UINT) SafeArrayGetElemsize(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI SafeArrayGetUBound(_In_ SAFEARRAY * psa, _In_ UINT nDim, _Out_ LONG * plUbound);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI SafeArrayGetLBound(_In_ SAFEARRAY * psa, _In_ UINT nDim, _Out_ LONG * plLbound);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI SafeArrayLock(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI SafeArrayUnlock(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI SafeArrayAccessData(_In_ SAFEARRAY * psa, _Outptr_result_buffer_(_Inexpressible_(psa->cbElements * product(psa->rgsabound[0..psa->cDims-1]->cElements))) void HUGEP** ppvData);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
void
**
);
WINOLEAUTAPI SafeArrayUnaccessData(_In_ SAFEARRAY * psa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
WINOLEAUTAPI SafeArrayGetElement(_In_ SAFEARRAY * psa, _In_reads_(_Inexpressible_(psa->cDims)) LONG * rgIndices, _Out_ void * pv);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
,
void
*
);
_Check_return_
WINOLEAUTAPI SafeArrayPutElement(_In_ SAFEARRAY * psa, _In_reads_(_Inexpressible_(psa->cDims)) LONG * rgIndices, _In_ void * pv);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
,
void
*
);
_Check_return_
WINOLEAUTAPI SafeArrayCopy(_In_ SAFEARRAY * psa, _Outptr_ SAFEARRAY ** ppsaOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
**
);
WINOLEAUTAPI SafeArrayPtrOfIndex(_In_ SAFEARRAY * psa, _In_reads_(psa->cDims) LONG * rgIndices, _Outptr_result_bytebuffer_(psa->cbElements) void ** ppvData);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
,
void
**
);
WINOLEAUTAPI SafeArraySetRecordInfo(_In_ SAFEARRAY * psa, _In_ IRecordInfo * prinfo);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
WINOLEAUTAPI SafeArrayGetRecordInfo(_In_ SAFEARRAY * psa, _Outptr_ IRecordInfo ** prinfo);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
**
);
WINOLEAUTAPI SafeArraySetIID(_In_ SAFEARRAY * psa, _In_ REFGUID guid);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
const
&
);
WINOLEAUTAPI SafeArrayGetIID(_In_ SAFEARRAY * psa, _Out_ GUID * pguid);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
WINOLEAUTAPI SafeArrayGetVartype(_In_ SAFEARRAY * psa, _Out_ VARTYPE * pvt);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateVector(_In_ VARTYPE vt, _In_ LONG lLbound, _In_ ULONG cElements);
extern
"C"
__declspec
(dllimport)
*
__stdcall
(
,
,
);
WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateVectorEx(_In_ VARTYPE vt, _In_ LONG lLbound, _In_ ULONG cElements, _In_ PVOID pvExtra);
extern
"C"
__declspec
(dllimport)
*
__stdcall
(
,
,
,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI_(void) VariantInit(_Out_ VARIANTARG * pvarg);
extern
"C"
__declspec
(dllimport)
void
__stdcall
(
*
);
WINOLEAUTAPI VariantClear(_Inout_ VARIANTARG * pvarg);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
);
_Check_return_
WINOLEAUTAPI VariantCopy(_Inout_ VARIANTARG * pvargDest, _In_ const VARIANTARG * pvargSrc);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
const
*
);
_Check_return_
WINOLEAUTAPI VariantCopyInd(_Inout_ VARIANT * pvarDest, _In_ const VARIANTARG * pvargSrc);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
const
*
);
_Check_return_
WINOLEAUTAPI VariantChangeType(_Inout_ VARIANTARG * pvargDest,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
_In_ const VARIANTARG * pvarSrc, _In_ USHORT wFlags, _In_ VARTYPE vt);
_Check_return_
WINOLEAUTAPI VariantChangeTypeEx(_Inout_ VARIANTARG * pvargDest,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
_In_ const VARIANTARG * pvarSrc, _In_ LCID lcid, _In_ USHORT wFlags, _In_ VARTYPE vt);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#define VARIANT_NOVALUEPROP 0x01
#define VARIANT_ALPHABOOL 0x02 // For VT_BOOL to VT_BSTR conversions,
#define VARIANT_NOUSEROVERRIDE 0x04 // For conversions to/from VT_BSTR,
#define VARIANT_CALENDAR_HIJRI 0x08
#define VARIANT_LOCALBOOL 0x10 // For VT_BOOL to VT_BSTR and back,
#define VARIANT_CALENDAR_THAI 0x20 // SOUTHASIA calendar support
#define VARIANT_CALENDAR_GREGORIAN 0x40 // SOUTHASIA calendar support
#define VARIANT_USE_NLS 0x80 // NLS function call support
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
_Check_return_
WINOLEAUTAPI VectorFromBstr (_In_ BSTR bstr, _Outptr_ SAFEARRAY ** ppsa);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
**
);
_Check_return_
WINOLEAUTAPI BstrFromVector (_In_ SAFEARRAY *psa, _Out_ BSTR *pbstr);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#define VAR_TIMEVALUEONLY ((DWORD)0x00000001) /* return time value */
#define VAR_DATEVALUEONLY ((DWORD)0x00000002) /* return date value */
#define VAR_VALIDDATE ((DWORD)0x00000004)
#define VAR_CALENDAR_HIJRI ((DWORD)0x00000008) /* use Hijri calender */
#define VAR_LOCALBOOL ((DWORD)0x00000010)
#define VAR_FORMAT_NOSUBSTITUTE ((DWORD)0x00000020)
#define VAR_FOURDIGITYEARS ((DWORD)0x00000040)
#ifndef LOCALE_USE_NLS
#define LOCALE_USE_NLS 0x10000000
#endif
#define VAR_CALENDAR_THAI ((DWORD)0x00000080)
#define VAR_CALENDAR_GREGORIAN ((DWORD)0x00000100)
#define VTDATEGRE_MAX 2958465 /* Dec 31, 9999, 0:0:0 in Gregorain Calendar */
#define VTDATEGRE_MIN -657434 /* Jan 1, 100, 0:0:0 in Gregorain Calendar */
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI VarUI1FromI2(SHORT sIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromI4(LONG lIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromI8(LONG64 i64In, _Out_ BYTE FAR* pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromR4(FLOAT fltIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromR8(DOUBLE dblIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromCy(CY cyIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromDate(DATE dateIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromStr(_In_ LPCOLESTR strIn, LCID lcid, ULONG dwFlags, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarUI1FromDisp(IDispatch * pdispIn, LCID lcid, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarUI1FromBool(VARIANT_BOOL boolIn, _Out_ BYTE * pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromI1(CHAR cIn, _Out_ BYTE *pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromUI2(USHORT uiIn, _Out_ BYTE *pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromUI4(ULONG ulIn, _Out_ BYTE *pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromUI8(ULONG64 ui64In, _Out_ BYTE FAR* pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI1FromDec(_In_ const DECIMAL *pdecIn, _Out_ BYTE *pbOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarI2FromUI1(BYTE bIn, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromI4(LONG lIn, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromI8(LONG64 i64In, _Out_ SHORT FAR* psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromR4(FLOAT fltIn, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromR8(DOUBLE dblIn, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromCy(CY cyIn, SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromDate(DATE dateIn, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromStr(_In_ LPCOLESTR strIn, LCID lcid, ULONG dwFlags, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarI2FromDisp(IDispatch * pdispIn, LCID lcid, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarI2FromBool(VARIANT_BOOL boolIn, _Out_ SHORT * psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromI1(CHAR cIn, _Out_ SHORT *psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromUI2(USHORT uiIn, _Out_ SHORT *psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromUI4(ULONG ulIn, _Out_ SHORT *psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromUI8(ULONG64 ui64In, _Out_ SHORT FAR* psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI2FromDec(_In_ const DECIMAL *pdecIn, _Out_ SHORT *psOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarI4FromUI1(BYTE bIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromI2(SHORT sIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromI8(LONG64 i64In, _Out_ LONG FAR* plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromR4(FLOAT fltIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromR8(DOUBLE dblIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromCy(CY cyIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromDate(DATE dateIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromStr(_In_ LPCOLESTR strIn, LCID lcid, ULONG dwFlags, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarI4FromDisp(IDispatch * pdispIn, _In_ LCID lcid, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarI4FromBool(VARIANT_BOOL boolIn, _Out_ LONG * plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromI1(CHAR cIn, _Out_ LONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromUI2(USHORT uiIn, _Out_ LONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromUI4(ULONG ulIn, _Out_ LONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromUI8(ULONG64 ui64In, _Out_ LONG FAR* plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromDec(_In_ const DECIMAL *pdecIn, _Out_ LONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarI8FromUI1(BYTE bIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromI2(SHORT sIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromR4(FLOAT fltIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromR8(DOUBLE dblIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromCy(_In_ CY cyIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromDate(DATE dateIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarI8FromDisp(IDispatch FAR* pdispIn, _In_ LCID lcid, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarI8FromBool(VARIANT_BOOL boolIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromI1(CHAR cIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromUI2(USHORT uiIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromUI4(ULONG ulIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromUI8(ULONG64 ui64In, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI8FromDec(_In_ const DECIMAL *pdecIn, _Out_ LONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarR4FromUI1(BYTE bIn, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromI2(SHORT sIn, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromI4(LONG lIn, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromI8(LONG64 i64In, _Out_ FLOAT FAR* pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromR8(DOUBLE dblIn, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromCy(CY cyIn, FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromDate(DATE dateIn, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromStr(_In_ LPCOLESTR strIn, LCID lcid, ULONG dwFlags, _Out_ FLOAT *pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarR4FromDisp(IDispatch * pdispIn, LCID lcid, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarR4FromBool(VARIANT_BOOL boolIn, _Out_ FLOAT * pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromI1(CHAR cIn, _Out_ FLOAT *pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromUI2(USHORT uiIn, _Out_ FLOAT *pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromUI4(ULONG ulIn, _Out_ FLOAT *pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromUI8(ULONG64 ui64In, _Out_ FLOAT FAR* pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR4FromDec(_In_ const DECIMAL *pdecIn, _Out_ FLOAT *pfltOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarR8FromUI1(BYTE bIn, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromI2(SHORT sIn, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromI4(LONG lIn, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromI8(LONG64 i64In, _Out_ DOUBLE FAR* pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromR4(FLOAT fltIn, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromCy(CY cyIn, DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromDate(DATE dateIn, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromStr(_In_ LPCOLESTR strIn, LCID lcid, ULONG dwFlags, _Out_ DOUBLE *pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarR8FromDisp(IDispatch * pdispIn, LCID lcid, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarR8FromBool(VARIANT_BOOL boolIn, _Out_ DOUBLE * pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromI1(CHAR cIn, DOUBLE *pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromUI2(USHORT uiIn, _Out_ DOUBLE *pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromUI4(ULONG ulIn, _Out_ DOUBLE *pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromUI8(ULONG64 ui64In, _Out_ DOUBLE FAR* pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarR8FromDec(_In_ const DECIMAL *pdecIn, _Out_ DOUBLE *pdblOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarDateFromUI1(BYTE bIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromI2(SHORT sIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromI4(LONG lIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromI8(LONG64 i64In, _Out_ DATE FAR* pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromR4(FLOAT fltIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromR8(DOUBLE dblIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromCy(CY cyIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarDateFromDisp(IDispatch * pdispIn, LCID lcid, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarDateFromBool(VARIANT_BOOL boolIn, _Out_ DATE * pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromI1(CHAR cIn, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromUI2(USHORT uiIn, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromUI4(ULONG ulIn, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromUI8(ULONG64 ui64In, _Out_ DATE FAR* pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDateFromDec(_In_ const DECIMAL *pdecIn, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarCyFromUI1(BYTE bIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromI2(SHORT sIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromI4(LONG lIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromI8(LONG64 i64In, _Out_ CY FAR* pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromR4(FLOAT fltIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromR8(DOUBLE dblIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromDate(DATE dateIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarCyFromDisp(_In_ IDispatch * pdispIn, LCID lcid, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarCyFromBool(VARIANT_BOOL boolIn, _Out_ CY * pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromI1(CHAR cIn, _Out_ CY *pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromUI2(USHORT uiIn, _Out_ CY *pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromUI4(ULONG ulIn, _Out_ CY *pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromUI8(ULONG64 ui64In, _Out_ CY FAR* pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarCyFromDec(_In_ const DECIMAL *pdecIn, _Out_ CY *pcyOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarBstrFromUI1(BYTE bVal, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromI2(SHORT iVal, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromI4(LONG lIn, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromI8(LONG64 i64In, LCID lcid, ULONG dwFlags, _Out_ BSTR FAR* pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromR4(FLOAT fltIn, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromR8(DOUBLE dblIn, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromCy(CY cyIn, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromDate(_In_ DATE dateIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromDisp(IDispatch * pdispIn, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
,
*
);
WINOLEAUTAPI VarBstrFromBool(VARIANT_BOOL boolIn, LCID lcid, ULONG dwFlags, _Out_ BSTR * pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromI1(CHAR cIn, LCID lcid, ULONG dwFlags, _Out_ BSTR *pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromUI2(USHORT uiIn, LCID lcid, ULONG dwFlags, _Out_ BSTR *pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromUI4(ULONG ulIn, LCID lcid, ULONG dwFlags, _Out_ BSTR *pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromUI8(ULONG64 ui64In, LCID lcid, ULONG dwFlags, _Out_ BSTR FAR* pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBstrFromDec(_In_ const DECIMAL *pdecIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ BSTR *pbstrOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
,
,
*
);
WINOLEAUTAPI VarBoolFromUI1(BYTE bIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
_Check_return_ WINOLEAUTAPI VarBoolFromI2(_In_ SHORT sIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromI4(LONG lIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromI8(LONG64 i64In, _Out_ VARIANT_BOOL FAR* pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromR4(FLOAT fltIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromR8(DOUBLE dblIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromDate(DATE dateIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromCy(CY cyIn, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromStr(_In_ LPCOLESTR strIn, LCID lcid, ULONG dwFlags, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarBoolFromDisp(IDispatch * pdispIn, LCID lcid, _Out_ VARIANT_BOOL * pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarBoolFromI1(CHAR cIn, _Out_ VARIANT_BOOL *pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromUI2(USHORT uiIn, _Out_ VARIANT_BOOL *pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromUI4(ULONG ulIn, _Out_ VARIANT_BOOL *pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromUI8(ULONG64 i64In, _Out_ VARIANT_BOOL FAR* pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarBoolFromDec(_In_ const DECIMAL *pdecIn, _Out_ VARIANT_BOOL *pboolOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
_In_ VARIANT_BOOL boolIn,
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
);
WINOLEAUTAPI
extern
"C"
__declspec
(dllimport)
__stdcall
(
_In_ const DECIMAL *pdecIn,
);
WINOLEAUTAPI VarUI2FromUI1(BYTE bIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromI2(SHORT uiIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromI4(LONG lIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromI8(LONG64 i64In, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromR4(FLOAT fltIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromR8(DOUBLE dblIn, USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromDate(DATE dateIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromCy(CY cyIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarUI2FromDisp(_In_ IDispatch *pdispIn, LCID lcid, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarUI2FromBool(VARIANT_BOOL boolIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromI1(CHAR cIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromUI4(ULONG ulIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromUI8(ULONG64 i64In, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI2FromDec(_In_ const DECIMAL *pdecIn, _Out_ USHORT *puiOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarUI4FromUI1(BYTE bIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromI2(_In_ SHORT uiIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromI4(LONG lIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromI8(LONG64 i64In, _Out_ ULONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromR4(FLOAT fltIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromR8(DOUBLE dblIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromDate(DATE dateIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromCy(CY cyIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarUI4FromDisp(_In_ IDispatch *pdispIn, LCID lcid, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarUI4FromBool(VARIANT_BOOL boolIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromI1(CHAR cIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromUI2(USHORT uiIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromUI8(ULONG64 ui64In, _Out_ ULONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI4FromDec(_In_ const DECIMAL *pdecIn, _Out_ ULONG *pulOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarUI8FromUI1(BYTE bIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromI2(SHORT sIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
WINOLEAUTAPI VarUI8FromI4(LONG lIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI VarUI8FromI8(LONG64 ui64In, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromR4(FLOAT fltIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromR8(DOUBLE dblIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromCy(CY cyIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromDate(DATE dateIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarUI8FromDisp(_In_ IDispatch FAR* pdispIn, LCID lcid, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarUI8FromBool(VARIANT_BOOL boolIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromI1(CHAR cIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromUI2(USHORT uiIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromUI4(ULONG ulIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarUI8FromDec(_In_ const DECIMAL *pdecIn, _Out_ ULONG64 FAR* pi64Out);
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
*
,
*
);
WINOLEAUTAPI VarDecFromUI1(_In_ BYTE bIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromI2(_In_ SHORT uiIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromI4(_In_ LONG lIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromI8(LONG64 i64In, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromR4(_In_ FLOAT fltIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromR8(_In_ DOUBLE dblIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromDate(_In_ DATE dateIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromCy(_In_ CY cyIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
*
);
WINOLEAUTAPI VarDecFromDisp(_In_ IDispatch *pdispIn, _In_ LCID lcid, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarDecFromBool(_In_ VARIANT_BOOL boolIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromI1(_In_ CHAR cIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromUI2(_In_ USHORT uiIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromUI4(_In_ ULONG ulIn, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarDecFromUI8(ULONG64 ui64In, _Out_ DECIMAL *pdecOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#define VarUI4FromUI4(in, pOut) (*(pOut) = (in))
#define VarI4FromI4(in, pOut) (*(pOut) = (in))
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI VarI4FromI8(LONG64 i64In, _Out_ LONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
WINOLEAUTAPI VarI4FromUI8(ULONG64 ui64In, _Out_ LONG *plOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#define VarUI8FromUI8(in, pOut) (*(pOut) = (in))
#define VarI8FromI8(in, pOut) (*(pOut) = (in))
#define VarUI1FromInt VarUI1FromI4
#define VarUI1FromUint VarUI1FromUI4
#define VarI2FromInt VarI2FromI4
#define VarI2FromUint VarI2FromUI4
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#define VarI4FromInt VarI4FromI4
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#define VarI4FromUint VarI4FromUI4
#define VarI8FromUint VarI8FromUI4
#define VarR4FromInt VarR4FromI4
#define VarR4FromUint VarR4FromUI4
#define VarR8FromInt VarR8FromI4
#define VarR8FromUint VarR8FromUI4
#define VarDateFromInt VarDateFromI4
#define VarDateFromUint VarDateFromUI4
#define VarCyFromInt VarCyFromI4
#define VarCyFromUint VarCyFromUI4
#define VarBstrFromInt VarBstrFromI4
#define VarBstrFromUint VarBstrFromUI4
#define VarBoolFromInt VarBoolFromI4
#define VarBoolFromUint VarBoolFromUI4
#define VarI1FromInt VarI1FromI4
#define VarI1FromUint VarI1FromUI4
#define VarUI2FromInt VarUI2FromI4
#define VarUI2FromUint VarUI2FromUI4
#define VarUI4FromInt VarUI4FromI4
#define VarUI4FromUint VarUI4FromUI4
#define VarDecFromInt VarDecFromI4
#define VarDecFromUint VarDecFromUI4
#define VarIntFromUI1 VarI4FromUI1
#define VarIntFromI2 VarI4FromI2
#define VarIntFromI4 VarI4FromI4
#define VarIntFromI8 VarI4FromI8
#define VarIntFromR4 VarI4FromR4
#define VarIntFromR8 VarI4FromR8
#define VarIntFromDate VarI4FromDate
#define VarIntFromCy VarI4FromCy
#define VarIntFromStr VarI4FromStr
#define VarIntFromDisp VarI4FromDisp
#define VarIntFromBool VarI4FromBool
#define VarIntFromI1 VarI4FromI1
#define VarIntFromUI2 VarI4FromUI2
#define VarIntFromUI4 VarI4FromUI4
#define VarIntFromUI8 VarI4FromUI8
#define VarIntFromDec VarI4FromDec
#define VarIntFromUint VarI4FromUI4
#define VarUintFromUI1 VarUI4FromUI1
#define VarUintFromI2 VarUI4FromI2
#define VarUintFromI4 VarUI4FromI4
#define VarUintFromI8 VarUI4FromI8
#define VarUintFromR4 VarUI4FromR4
#define VarUintFromR8 VarUI4FromR8
#define VarUintFromDate VarUI4FromDate
#define VarUintFromCy VarUI4FromCy
#define VarUintFromStr VarUI4FromStr
#define VarUintFromDisp VarUI4FromDisp
#define VarUintFromBool VarUI4FromBool
#define VarUintFromI1 VarUI4FromI1
#define VarUintFromUI2 VarUI4FromUI2
#define VarUintFromUI4 VarUI4FromUI4
#define VarUintFromUI8 VarUI4FromUI8
#define VarUintFromDec VarUI4FromDec
#define VarUintFromInt VarUI4FromI4
typedef
struct
{
;
;
;
;
;
;
}
;
#define NUMPRS_LEADING_WHITE 0x0001
#define NUMPRS_TRAILING_WHITE 0x0002
#define NUMPRS_LEADING_PLUS 0x0004
#define NUMPRS_TRAILING_PLUS 0x0008
#define NUMPRS_LEADING_MINUS 0x0010
#define NUMPRS_TRAILING_MINUS 0x0020
#define NUMPRS_HEX_OCT 0x0040
#define NUMPRS_PARENS 0x0080
#define NUMPRS_DECIMAL 0x0100
#define NUMPRS_THOUSANDS 0x0200
#define NUMPRS_CURRENCY 0x0400
#define NUMPRS_EXPONENT 0x0800
#define NUMPRS_USE_ALL 0x1000
#define NUMPRS_STD 0x1FFF
#define NUMPRS_NEG 0x10000
#define NUMPRS_INEXACT 0x20000
#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)
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
_Check_return_
WINOLEAUTAPI VarParseNumFromStr(_In_ LPCOLESTR strIn, _In_ LCID lcid, _In_ ULONG dwFlags,
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
_Inout_ NUMPARSE * pnumprs, _Out_writes_(pnumprs->cDig) BYTE * rgbDig);
_Check_return_
WINOLEAUTAPI VarNumFromParseNum(_In_ NUMPARSE * pnumprs, _In_reads_(pnumprs->cDig) BYTE * rgbDig,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
,
_In_ ULONG dwVtBits, _Out_ VARIANT * pvar);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
STDAPI VarAdd(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarAnd(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarCat(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarDiv(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarEqv(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarIdiv(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarImp(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarMod(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarMul(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarOr(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarPow(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarSub(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarXor(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarAbs(_In_ LPVARIANT pvarIn, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarFix(_In_ LPVARIANT pvarIn, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarInt(_In_ LPVARIANT pvarIn, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarNeg(_In_ LPVARIANT pvarIn, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarNot(_In_ LPVARIANT pvarIn, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarRound(_In_ LPVARIANT pvarIn, _In_ int cDecimals, _Out_ LPVARIANT pvarResult);
extern
"C"
__stdcall
(
,
int
,
);
STDAPI VarCmp(_In_ LPVARIANT pvarLeft, _In_ LPVARIANT pvarRight, _In_ LCID lcid, _In_ ULONG dwFlags);
extern
"C"
__stdcall
(
,
,
,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
extern
"C++"
{
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
__inline
#if !defined(_M_CEE_PURE)
(
,
,
) {
return
(
,
,
,
0
);
}
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
}
#endif /* __cplusplus */
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
STDAPI VarDecAdd(_In_ LPDECIMAL pdecLeft, _In_ LPDECIMAL pdecRight, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarDecDiv(_In_ LPDECIMAL pdecLeft, _In_ LPDECIMAL pdecRight, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarDecMul(_In_ LPDECIMAL pdecLeft, _In_ LPDECIMAL pdecRight, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarDecSub(_In_ LPDECIMAL pdecLeft, _In_ LPDECIMAL pdecRight, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarDecAbs(_In_ LPDECIMAL pdecIn, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarDecFix(_In_ LPDECIMAL pdecIn, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarDecInt(_In_ LPDECIMAL pdecIn, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarDecNeg(_In_ LPDECIMAL pdecIn, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarDecRound(_In_ LPDECIMAL pdecIn, int cDecimals, _Out_ LPDECIMAL pdecResult);
extern
"C"
__stdcall
(
,
int
,
);
STDAPI VarDecCmp(_In_ LPDECIMAL pdecLeft, _In_ LPDECIMAL pdecRight);
extern
"C"
__stdcall
(
,
);
STDAPI VarDecCmpR8(_In_ LPDECIMAL pdecLeft, _In_ double dblRight);
extern
"C"
__stdcall
(
,
double
);
STDAPI VarCyAdd(_In_ CY cyLeft, _In_ CY cyRight, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarCyMul(_In_ CY cyLeft, _In_ CY cyRight, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarCyMulI4(_In_ CY cyLeft, _In_ LONG lRight, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarCyMulI8(_In_ CY cyLeft, _In_ LONG64 lRight, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarCySub(_In_ CY cyLeft, _In_ CY cyRight, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarCyAbs(_In_ CY cyIn, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarCyFix(_In_ CY cyIn, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarCyInt(_In_ CY cyIn, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarCyNeg(_In_ CY cyIn, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
);
STDAPI VarCyRound(_In_ CY cyIn, _In_ int cDecimals, _Out_ LPCY pcyResult);
extern
"C"
__stdcall
(
,
int
,
);
STDAPI VarCyCmp(_In_ CY cyLeft, _In_ CY cyRight);
extern
"C"
__stdcall
(
,
);
STDAPI VarCyCmpR8(_In_ CY cyLeft, _In_ double dblRight);
extern
"C"
__stdcall
(
,
double
);
STDAPI VarBstrCat(_In_ BSTR bstrLeft, _In_ BSTR bstrRight, _Out_ LPBSTR pbstrResult);
extern
"C"
__stdcall
(
,
,
);
STDAPI VarBstrCmp(_In_ BSTR bstrLeft, _In_ BSTR bstrRight, _In_ LCID lcid, _In_ ULONG dwFlags); // dwFlags passed to CompareString
extern
"C"
__stdcall
(
,
,
,
);
STDAPI VarR8Pow(_In_ double dblLeft, _In_ double dblRight, _Out_ double *pdblResult);
extern
"C"
__stdcall
(
double
,
double
,
double
*
);
STDAPI VarR4CmpR8(_In_ float fltLeft, _In_ double dblRight);
extern
"C"
__stdcall
(
float
,
double
);
STDAPI VarR8Round(_In_ double dblIn, _In_ int cDecimals, _Out_ double *pdblResult);
extern
"C"
__stdcall
(
double
,
int
,
double
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#define VARCMP_LT 0
#define VARCMP_EQ 1
#define VARCMP_GT 2
#define VARCMP_NULL 3
#define VT_HARDTYPE VT_RESERVED
typedef
struct
{
;
;
}
;
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
_Check_return_
WINOLEAUTAPI VarDateFromUdate(_In_ UDATE *pudateIn, _In_ ULONG dwFlags, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
*
);
WINOLEAUTAPI VarDateFromUdateEx(_In_ UDATE *pudateIn, _In_ LCID lcid, _In_ ULONG dwFlags, _Out_ DATE *pdateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
,
*
);
_Check_return_
WINOLEAUTAPI VarUdateFromDate(_In_ DATE dateIn, _In_ ULONG dwFlags, _Out_ UDATE *pudateOut);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
_Check_return_
WINOLEAUTAPI GetAltMonthNames(LCID lcid, _Outptr_result_buffer_maybenull_(13) LPOLESTR * * prgp);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
* *
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI VarFormat(
extern
"C"
__declspec
(dllimport)
__stdcall
(
_In_opt_ LPOLESTR pstrFormat,
int
,
int
,
,
);
WINOLEAUTAPI VarFormatDateTime(
extern
"C"
__declspec
(dllimport)
__stdcall
(
int
,
,
);
WINOLEAUTAPI VarFormatNumber(
extern
"C"
__declspec
(dllimport)
__stdcall
(
int
,
int
,
int
,
int
,
,
);
WINOLEAUTAPI VarFormatPercent(
extern
"C"
__declspec
(dllimport)
__stdcall
(
int
,
int
,
int
,
int
,
,
);
WINOLEAUTAPI VarFormatCurrency(
extern
"C"
__declspec
(dllimport)
__stdcall
(
int
,
int
,
int
,
int
,
,
);
WINOLEAUTAPI VarWeekdayName(
extern
"C"
__declspec
(dllimport)
__stdcall
(
int
,
int
,
int
,
,
);
WINOLEAUTAPI VarMonthName(
extern
"C"
__declspec
(dllimport)
__stdcall
(
int
,
int
,
,
);
WINOLEAUTAPI VarFormatFromTokens(
extern
"C"
__declspec
(dllimport)
__stdcall
(
_In_opt_ LPOLESTR pstrFormat,
_In_reads_(_Inexpressible_("from VarTokenizeFormatString")) LPBYTE pbTokCur,
,
);
WINOLEAUTAPI VarTokenizeFormatString(
extern
"C"
__declspec
(dllimport)
__stdcall
(
_In_opt_ LPOLESTR pstrFormat,
_Inout_updates_(cbTok) LPBYTE rgbTok,
int
,
int
,
int
,
,
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
typedef /* [unique] */ __RPC_unique_pointer ITypeLib *LPTYPELIB;
typedef
;
typedef
;
#define MEMBERID_NIL DISPID_UNKNOWN
#define ID_DEFAULTINST -2
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
#define DISPATCH_METHOD 0x1
#define DISPATCH_PROPERTYGET 0x2
#define DISPATCH_PROPERTYPUT 0x4
#define DISPATCH_PROPERTYPUTREF 0x8
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
typedef /* [unique] */ __RPC_unique_pointer ITypeInfo *LPTYPEINFO;
typedef /* [unique] */ __RPC_unique_pointer ITypeComp *LPTYPECOMP;
typedef
*
;
typedef
*
;
#if (defined (_WIN32) || defined (_WIN64))
_Check_return_
WINOLEAUTAPI_(ULONG) LHashValOfNameSysA(SYSKIND syskind, LCID lcid,
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
);
#endif
_Check_return_
WINOLEAUTAPI_(ULONG)
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
const
*
);
#define LHashValOfName(lcid, szName) \
LHashValOfNameSys(SYS_WIN32, lcid, szName)
#define WHashValOfLHashVal(lhashval) \
((USHORT) (0x0000ffff & (lhashval)))
#define IsHashValCompatible(lhashval1, lhashval2) \
((BOOL) ((0x00ff0000 & (lhashval1)) == (0x00ff0000 & (lhashval2))))
WINOLEAUTAPI LoadTypeLib(_In_z_ LPCOLESTR szFile, ITypeLib ** pptlib);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
**
);
typedef
enum
{
,
,
}
;
#define LOAD_TLB_AS_32BIT 0x20
#define LOAD_TLB_AS_64BIT 0x40
#define MASK_TO_RESET_TLB_BITS ~(LOAD_TLB_AS_32BIT | LOAD_TLB_AS_64BIT)
_Check_return_
WINOLEAUTAPI LoadTypeLibEx(LPCOLESTR szFile, REGKIND regkind,
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
**
);
_Check_return_
WINOLEAUTAPI LoadRegTypeLib(REFGUID rguid, WORD wVerMajor, WORD wVerMinor,
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
&
,
,
,
,
**
);
WINOLEAUTAPI QueryPathOfRegTypeLib(REFGUID guid, USHORT wMaj, USHORT wMin,
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
&
,
,
,
LCID lcid, _Out_ LPBSTR lpbstrPathName);
_Check_return_
WINOLEAUTAPI RegisterTypeLib(ITypeLib * ptlib, _In_ LPCOLESTR szFullPath,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
_In_opt_ LPCOLESTR szHelpDir);
_Check_return_
WINOLEAUTAPI UnRegisterTypeLib(REFGUID libID, WORD wVerMajor,
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
&
,
,
,
,
);
WINOLEAUTAPI RegisterTypeLibForUser(ITypeLib *ptlib,_In_ OLECHAR *szFullPath,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
,
_In_opt_ OLECHAR *szHelpDir);
WINOLEAUTAPI UnRegisterTypeLibForUser(
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
,
);
_Check_return_
WINOLEAUTAPI CreateTypeLib(SYSKIND syskind, LPCOLESTR szFile,
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
**
);
_Check_return_
WINOLEAUTAPI CreateTypeLib2(SYSKIND syskind, LPCOLESTR szFile,
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
,
**
);
typedef /* [unique] */ __RPC_unique_pointer IDispatch *LPDISPATCH;
typedef
struct
{
*
;
;
}
, *
;
typedef
struct
{
*
;
*
;
;
;
;
;
;
;
}
, *
;
typedef
struct
{
*
;
;
}
, *
;
_Check_return_
WINOLEAUTAPI DispGetParam(
extern
"C"
__declspec
(dllimport)
__stdcall
(
_In_ DISPPARAMS * pdispparams,
,
,
_Out_ VARIANT * pvarResult,
_Out_opt_ UINT * puArgErr
);
_Check_return_ WINOLEAUTAPI DispGetIDsOfNames(ITypeInfo * ptinfo, _In_reads_(cNames) LPOLESTR* rgszNames,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
*
,
UINT cNames, _Out_writes_(cNames) DISPID * rgdispid);
_Check_return_
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Application Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
WINOLEAUTAPI DispInvoke(void * _this, ITypeInfo * ptinfo, DISPID dispidMember,
extern
"C"
__declspec
(dllimport)
__stdcall
(
void
*
,
*
,
,
,
*
,
*
,
*
,
*
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#pragma region Desktop Family or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
_Check_return_
WINOLEAUTAPI CreateDispTypeInfo(INTERFACEDATA * pidata, LCID lcid,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
,
**
);
_Check_return_
WINOLEAUTAPI CreateStdDispatch(IUnknown * punkOuter, void * pvThis,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
void
*
,
*
,
**
);
WINOLEAUTAPI DispCallFunc(_In_opt_ void * pvInstance, ULONG_PTR oVft, CALLCONV cc,
extern
"C"
__declspec
(dllimport)
__stdcall
(
void
*
,
,
,
VARTYPE vtReturn, UINT cActuals, _In_reads_(cActuals) VARTYPE * prgvt,
_In_reads_(cActuals) VARIANTARG ** prgpvarg, _Out_ VARIANT * pvargResult);
#define ACTIVEOBJECT_STRONG 0x0
#define ACTIVEOBJECT_WEAK 0x1
_Check_return_
WINOLEAUTAPI RegisterActiveObject(IUnknown * punk, REFCLSID rclsid,
extern
"C"
__declspec
(dllimport)
__stdcall
(
*
,
const
&
,
,
*
);
WINOLEAUTAPI RevokeActiveObject(DWORD dwRegister, void * pvReserved);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
void
*
);
WINOLEAUTAPI GetActiveObject(REFCLSID rclsid, void * pvReserved,
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
&
,
void
*
,
**
);
WINOLEAUTAPI SetErrorInfo(_In_ ULONG dwReserved, _In_opt_ IErrorInfo * perrinfo);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
*
);
_Check_return_
WINOLEAUTAPI GetErrorInfo(_In_ ULONG dwReserved, _Outptr_ IErrorInfo ** pperrinfo);
extern
"C"
__declspec
(dllimport)
__stdcall
(
,
**
);
_Check_return_
WINOLEAUTAPI CreateErrorInfo(_Outptr_ ICreateErrorInfo ** pperrinfo);
extern
"C"
__declspec
(dllimport)
__stdcall
(
**
);
WINOLEAUTAPI GetRecordInfoFromTypeInfo(ITypeInfo * pTypeInfo,
extern
"C"
__declspec
(dllimport)
__stdcall
GetRecordInfoFromTypeInfo
(
*
,
**
);
WINOLEAUTAPI GetRecordInfoFromGuids(REFGUID rGuidTypeLib,
extern
"C"
__declspec
(dllimport)
__stdcall
(
const
&
,
,
,
,
REFGUID rGuidTypeInfo, IRecordInfo ** ppRecInfo);
WINOLEAUTAPI_(ULONG) OaBuildVersion(void);
extern
"C"
__declspec
(dllimport)
__stdcall
(
void
);
WINOLEAUTAPI_(void) ClearCustData(LPCUSTDATA pCustData);
extern
"C"
__declspec
(dllimport)
void
__stdcall
(
);
#if (NTDDI_VERSION >= NTDDI_VISTASP1)
WINOLEAUTAPI_(void) OaEnablePerUserTLibRegistration(void);
#endif
extern
"C"
__declspec
(dllimport)
void
__stdcall
OaEnablePerUserTLibRegistration
(
void
);
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION) || (!defined(_MSC_EXTENSIONS) && !defined(_FORCENAMELESSUNION))
#define V_UNION(X, Y) ((X)->n1.n2.n3.Y)
#define V_VT(X) ((X)->n1.n2.vt)
#define V_RECORDINFO(X) ((X)->n1.n2.n3.brecVal.pRecInfo)
#define V_RECORD(X) ((X)->n1.n2.n3.brecVal.pvRecord)
#else
#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)
#endif
#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)
#ifdef _WIN64
#define V_INT_PTR(X) V_UNION(X, llVal)
#define V_UINT_PTR(X) V_UNION(X, ullVal)
#define V_INT_PTRREF(X) V_UNION(X, pllVal)
#define V_UINT_PTRREF(X) V_UNION(X, pullVal)
#else
#define V_INT_PTR(X) V_UNION(X, lVal)
#define V_UINT_PTR(X) V_UNION(X, ulVal)
#define V_INT_PTRREF(X) V_UNION(X, plVal)
#define V_UINT_PTRREF(X) V_UNION(X, pulVal)
#endif
#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)
#ifndef RC_INVOKED
#include <poppack.h>
#endif // RC_INVOKED
#endif // __OLEAUTO_H__
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif