ReactOS 0.4.15-dev-5666-gc548b97
oleauto.h
Go to the documentation of this file.
1/*
2 * Copyright (C) the Wine project
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#ifndef __WINE_OLEAUTO_H
20#define __WINE_OLEAUTO_H
21
22#include <oaidl.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28DEFINE_OLEGUID(IID_StdOle, 0x00020430,0,0);
29
30#define STDOLE_MAJORVERNUM 1
31#define STDOLE_MINORVERNUM 0
32#define STDOLE_LCID 0
33
34#define STDOLE2_MAJORVERNUM 2
35#define STDOLE2_MINORVERNUM 0
36#define STDOLE2_LCID 0
37
39
40/* BSTR functions */
43
45BSTR
50
52
53INT
56 _Inout_ _At_(*pbstr, _Pre_z_ _Post_z_ _Post_readable_size_(_String_length_(psz) + 1)) LPBSTR pbstr,
58
60int
65 _In_ UINT len);
66
67_Post_equal_to_(_String_length_(bstr) * sizeof(OLECHAR))
68UINT
71 _In_opt_ BSTR bstr);
72
73_Post_equal_to_(pbstr == NULL ? 0 : _String_length_(pbstr))
74UINT
77 _In_opt_ BSTR pbstr);
78
79/* IErrorInfo helpers */
83
84/* SafeArray functions */
85
90 _In_ UINT,
92
97 _In_ UINT,
99 _In_ LPVOID);
100
102WINAPI
105 _In_ LONG,
106 _In_ ULONG);
107
109WINAPI
112 _In_ LONG,
113 _In_ ULONG,
114 _In_ LPVOID);
115
117
119WINAPI
122 _In_ UINT,
124
127
130WINAPI
133 LONG*,
134 _In_ void*);
135
146
148WINAPI
151 _In_reads_(psa->cDims) LONG*,
152 _Outptr_result_bytebuffer_(psa->cbElements) void **);
153
156WINAPI
159 _In_ SAFEARRAY*);
160
163
166WINAPI
170
176
179
180/* Object registration helpers */
181#define ACTIVEOBJECT_STRONG 0
182#define ACTIVEOBJECT_WEAK 1
183
186WINAPI
188 LPUNKNOWN,
189 REFCLSID,
190 DWORD,
191 LPDWORD);
192
195
196/* IRecordInfo helpers */
199
200/*
201 * Variants
202 */
203
204/* Macros for accessing the fields of the VARIANT type */
205#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
206#define V_VT(A) ((A)->n1.n2.vt)
207#define V_UNION(A,B) ((A)->n1.n2.n3.B)
208#define V_RECORD(A) (V_UNION(A,brecVal).pvRecord)
209#define V_RECORDINFO(A) (V_UNION(A,brecVal).pRecInfo)
210#else
211#define V_VT(A) ((A)->vt)
212#define V_UNION(A,B) ((A)->B)
213#define V_RECORD(A) ((A)->pvRecord)
214#define V_RECORDINFO(A) ((A)->pRecInfo)
215#endif
216
217#define V_ISBYREF(A) (V_VT(A) & VT_BYREF)
218#define V_ISARRAY(A) (V_VT(A) & VT_ARRAY)
219#define V_ISVECTOR(A) (V_VT(A) & VT_VECTOR)
220#define V_NONE(A) V_I2(A)
221
222#define V_ARRAY(A) V_UNION(A,parray)
223#define V_ARRAYREF(A) V_UNION(A,pparray)
224#define V_BOOL(A) V_UNION(A,boolVal)
225#define V_BOOLREF(A) V_UNION(A,pboolVal)
226#define V_BSTR(A) V_UNION(A,bstrVal)
227#define V_BSTRREF(A) V_UNION(A,pbstrVal)
228#define V_BYREF(A) V_UNION(A,byref)
229#define V_CY(A) V_UNION(A,cyVal)
230#define V_CYREF(A) V_UNION(A,pcyVal)
231#define V_DATE(A) V_UNION(A,date)
232#define V_DATEREF(A) V_UNION(A,pdate)
233#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
234#define V_DECIMAL(A) ((A)->n1.decVal)
235#else
236#define V_DECIMAL(A) ((A)->decVal)
237#endif
238#define V_DECIMALREF(A) V_UNION(A,pdecVal)
239#define V_DISPATCH(A) V_UNION(A,pdispVal)
240#define V_DISPATCHREF(A) V_UNION(A,ppdispVal)
241#define V_ERROR(A) V_UNION(A,scode)
242#define V_ERRORREF(A) V_UNION(A,pscode)
243#define V_I1(A) V_UNION(A,cVal)
244#define V_I1REF(A) V_UNION(A,pcVal)
245#define V_I2(A) V_UNION(A,iVal)
246#define V_I2REF(A) V_UNION(A,piVal)
247#define V_I4(A) V_UNION(A,lVal)
248#define V_I4REF(A) V_UNION(A,plVal)
249#define V_I8(A) V_UNION(A,llVal)
250#define V_I8REF(A) V_UNION(A,pllVal)
251#define V_INT(A) V_UNION(A,intVal)
252#define V_INTREF(A) V_UNION(A,pintVal)
253#ifdef _WIN64
254#define V_INT_PTR(A) V_I8(A)
255#define V_INT_PTRREF(A) V_I8REF(A)
256#else
257#define V_INT_PTR(A) V_I4(A)
258#define V_INT_PTRREF(A) V_I4REF(A)
259#endif
260#define V_R4(A) V_UNION(A,fltVal)
261#define V_R4REF(A) V_UNION(A,pfltVal)
262#define V_R8(A) V_UNION(A,dblVal)
263#define V_R8REF(A) V_UNION(A,pdblVal)
264#define V_UINT(A) V_UNION(A,uintVal)
265#define V_UINTREF(A) V_UNION(A,puintVal)
266#define V_UI1(A) V_UNION(A,bVal)
267#define V_UI1REF(A) V_UNION(A,pbVal)
268#define V_UI2(A) V_UNION(A,uiVal)
269#define V_UI2REF(A) V_UNION(A,puiVal)
270#define V_UI4(A) V_UNION(A,ulVal)
271#define V_UI4REF(A) V_UNION(A,pulVal)
272#define V_UI8(A) V_UNION(A,ullVal)
273#define V_UI8REF(A) V_UNION(A,pullVal)
274#ifdef _WIN64
275#define V_UINT_PTR(A) V_UI8(A)
276#define V_UINT_PTRREF(A) V_UI8REF(A)
277#else
278#define V_UINT_PTR(A) V_UI4(A)
279#define V_UINT_PTRREF(A) V_UI4REF(A)
280#endif
281#define V_UNKNOWN(A) V_UNION(A,punkVal)
282#define V_UNKNOWNREF(A) V_UNION(A,ppunkVal)
283#define V_VARIANTREF(A) V_UNION(A,pvarVal)
284
289
292WINAPI
295 _In_ VARIANT*,
296 _In_ USHORT,
297 _In_ VARTYPE);
298
301WINAPI
304 _In_ VARIANT*,
305 _In_ LCID,
306 _In_ USHORT,
307 _In_ VARTYPE);
308
309/* VariantChangeType/VariantChangeTypeEx flags */
310#define VARIANT_NOVALUEPROP 0x01 /* Don't get the default value property from IDispatch */
311#define VARIANT_ALPHABOOL 0x02 /* Coerce to "True"|"False" instead of "-1"|"0" */
312#define VARIANT_NOUSEROVERRIDE 0x04 /* Pass LOCALE_NOUSEROVERRIDE to low level conversions */
313#define VARIANT_CALENDAR_HIJRI 0x08 /* Use the Hijri calendar */
314#define VARIANT_LOCALBOOL 0x10 /* Like VARIANT_ALPHABOOL, but use localised text */
315#define VARIANT_CALENDAR_THAI 0x20 /* Use the Thai buddhist calendar */
316#define VARIANT_CALENDAR_GREGORIAN 0x40 /* Use the Gregorian calendar */
317#define VARIANT_USE_NLS 0x80 /* Format result using NLS calls */
318
319/*
320 * Low level Variant coercion functions
321 */
322
323#define VT_HARDTYPE VT_RESERVED /* Don't coerce this variant when comparing it to others */
324
325/* Flags for low level coercions. LOCALE_ flags can also be passed */
326#define VAR_TIMEVALUEONLY 0x001 /* Ignore date portion of VT_DATE */
327#define VAR_DATEVALUEONLY 0x002 /* Ignore time portion of VT_DATE */
328#define VAR_VALIDDATE 0x004
329#define VAR_CALENDAR_HIJRI 0x008 /* Use the Hijri calendar */
330#define VAR_LOCALBOOL 0x010 /* VT_BOOL<->VT_BSTR: Use localised boolean text */
331#define VAR_FORMAT_NOSUBSTITUTE 0x020 /* Don't change format strings for un-coercable types */
332#define VAR_FOURDIGITYEARS 0x040 /* Always print years with 4 digits */
333#define VAR_CALENDAR_THAI 0x080 /* Use the Thai buddhist calendar */
334#define VAR_CALENDAR_GREGORIAN 0x100 /* Use the Gregorian calendar */
335
336#ifndef LOCALE_USE_NLS
337/* This is missing from native winnls.h, but may be added at some point */
338#define LOCALE_USE_NLS 0x10000000
339#endif
340
341#define VTDATEGRE_MIN -657434 /* Minimum possible Gregorian date: 1/1/100 */
342#define VTDATEGRE_MAX 2958465 /* Maximum possible Gregorian date: 31/12/9999 */
343
359
375
391
408
424
432HRESULT WINAPI VarR8FromI1(signed char,double*);
440
456
472
488
504
520
536
552
569
585
586#define VarUI4FromUI4( in,pOut ) ( *(pOut) = (in) )
587#define VarI4FromI4( in,pOut ) ( *(pOut) = (in) )
588
589#define VarUI1FromInt VarUI1FromI4
590#define VarUI1FromUint VarUI1FromUI4
591#define VarI2FromInt VarI2FromI4
592#define VarI2FromUint VarI2FromUI4
593#define VarI4FromInt VarI4FromI4
594#define VarI4FromUint VarI4FromUI4
595#define VarI8FromInt VarI8FromI4
596#define VarI8FromUint VarI8FromUI4
597#define VarR4FromInt VarR4FromI4
598#define VarR4FromUint VarR4FromUI4
599#define VarR8FromInt VarR8FromI4
600#define VarR8FromUint VarR8FromUI4
601#define VarDateFromInt VarDateFromI4
602#define VarDateFromUint VarDateFromUI4
603#define VarCyFromInt VarCyFromI4
604#define VarCyFromUint VarCyFromUI4
605#define VarBstrFromInt VarBstrFromI4
606#define VarBstrFromUint VarBstrFromUI4
607#define VarBoolFromInt VarBoolFromI4
608#define VarBoolFromUint VarBoolFromUI4
609#define VarI1FromInt VarI1FromI4
610#define VarI1FromUint VarI1FromUI4
611#define VarUI2FromInt VarUI2FromI4
612#define VarUI2FromUint VarUI2FromUI4
613#define VarUI4FromInt VarUI4FromI4
614#define VarUI4FromUint VarUI4FromUI4
615#define VarUI8FromInt VarUI8FromI4
616#define VarUI8FromUint VarUI8FromUI4
617#define VarDecFromInt VarDecFromI4
618#define VarDecFromUint VarDecFromUI4
619#define VarIntFromUI1 VarI4FromUI1
620#define VarIntFromI2 VarI4FromI2
621#define VarIntFromI4 VarI4FromI4
622#define VarIntFromI8 VarI4FromI8
623#define VarIntFromR4 VarI4FromR4
624#define VarIntFromR8 VarI4FromR8
625#define VarIntFromDate VarI4FromDate
626#define VarIntFromCy VarI4FromCy
627#define VarIntFromStr VarI4FromStr
628#define VarIntFromDisp VarI4FromDisp
629#define VarIntFromBool VarI4FromBool
630#define VarIntFromI1 VarI4FromI1
631#define VarIntFromUI2 VarI4FromUI2
632#define VarIntFromUI4 VarI4FromUI4
633#define VarIntFromUI8 VarI4FromUI8
634#define VarIntFromDec VarI4FromDec
635#define VarIntFromUint VarI4FromUI4
636#define VarUintFromUI1 VarUI4FromUI1
637#define VarUintFromI2 VarUI4FromI2
638#define VarUintFromI4 VarUI4FromI4
639#define VarUintFromI8 VarUI4FromI8
640#define VarUintFromR4 VarUI4FromR4
641#define VarUintFromR8 VarUI4FromR8
642#define VarUintFromDate VarUI4FromDate
643#define VarUintFromCy VarUI4FromCy
644#define VarUintFromStr VarUI4FromStr
645#define VarUintFromDisp VarUI4FromDisp
646#define VarUintFromBool VarUI4FromBool
647#define VarUintFromI1 VarUI4FromI1
648#define VarUintFromUI2 VarUI4FromUI2
649#define VarUintFromUI4 VarUI4FromUI4
650#define VarUintFromUI8 VarUI4FromUI8
651#define VarUintFromDec VarUI4FromDec
652#define VarUintFromInt VarUI4FromI4
653
654/*
655 * Variant Math operations
656 */
657#define VARCMP_LT 0
658#define VARCMP_EQ 1
659#define VARCMP_GT 2
660#define VARCMP_NULL 3
661
663
664HRESULT WINAPI VarR8Pow(_In_ double, _In_ double, _Out_ double*);
665HRESULT WINAPI VarR8Round(_In_ double, _In_ int, _Out_ double*);
666
678
691
705
711
713
715
718
719
720typedef struct {
723} UDATE;
724
725typedef struct
726{
727 INT cDig; /* Number of parsed digits */
728 ULONG dwInFlags; /* Acceptable state of the input string (NUMPRS_ flags) */
729 ULONG dwOutFlags; /* Parsed state of the output string (NUMPRS_ flags) */
730 INT cchUsed; /* Number of characters parsed from input string */
731 INT nBaseShift; /* Base of the number (but apparently unused) */
732 INT nPwr10; /* Scale of the number in powers of 10 */
733} NUMPARSE;
734
735#define NUMPRS_LEADING_WHITE 0x00001 /* Leading whitespace */
736#define NUMPRS_TRAILING_WHITE 0x00002 /* Trailing whitespace */
737#define NUMPRS_LEADING_PLUS 0x00004 /* Leading '+' sign */
738#define NUMPRS_TRAILING_PLUS 0x00008 /* Trailing '+' sign */
739#define NUMPRS_LEADING_MINUS 0x00010 /* Leading '-' sign */
740#define NUMPRS_TRAILING_MINUS 0x00020 /* Trailing '-' sign */
741#define NUMPRS_HEX_OCT 0x00040 /* Octal number (with a leading 0) */
742#define NUMPRS_PARENS 0x00080 /* Parentheses for negative numbers */
743#define NUMPRS_DECIMAL 0x00100 /* Decimal separator */
744#define NUMPRS_THOUSANDS 0x00200 /* Thousands separator */
745#define NUMPRS_CURRENCY 0x00400 /* Currency symbol */
746#define NUMPRS_EXPONENT 0x00800 /* Exponent (e.g. "e-14") */
747#define NUMPRS_USE_ALL 0x01000 /* Parse the entire string */
748#define NUMPRS_STD 0x01FFF /* Standard flags for internal coercions (All of the above) */
749#define NUMPRS_NEG 0x10000 /* Number is negative (dwOutFlags only) */
750#define NUMPRS_INEXACT 0x20000 /* Number is represented inexactly (dwOutFlags only) */
751
752#define VTBIT_I1 (1 << VT_I1)
753#define VTBIT_UI1 (1 << VT_UI1)
754#define VTBIT_I2 (1 << VT_I2)
755#define VTBIT_UI2 (1 << VT_UI2)
756#define VTBIT_I4 (1 << VT_I4)
757#define VTBIT_UI4 (1 << VT_UI4)
758#define VTBIT_I8 (1 << VT_I8)
759#define VTBIT_UI8 (1 << VT_UI8)
760#define VTBIT_R4 (1 << VT_R4)
761#define VTBIT_R8 (1 << VT_R8)
762#define VTBIT_CY (1 << VT_CY)
763#define VTBIT_DECIMAL (1 << VT_DECIMAL)
764
767WINAPI
769 _In_ OLECHAR*,
770 _In_ LCID,
771 _In_ ULONG,
773 _Out_ BYTE*);
774
777WINAPI
779 _In_ NUMPARSE*,
780 _In_ BYTE*,
781 _In_ ULONG,
782 _Out_ VARIANT*);
783
786
789
792WINAPI
794 _In_ UDATE*,
795 _In_ ULONG,
796 _Out_ DATE*);
797
799WINAPI
801 _In_ UDATE*,
802 _In_ LCID,
803 _In_ ULONG,
804 _Out_ DATE*);
805
808WINAPI
810 _In_ DATE,
811 _In_ ULONG,
812 _Out_ UDATE*);
813
814/* Variant formatting */
817
820WINAPI
822 LCID,
824
826WINAPI
830 int,
831 int,
832 ULONG,
833 _Out_ BSTR*);
834
836WINAPI
839 int,
840 int,
841 int,
842 int,
843 ULONG,
844 _Out_ BSTR*);
845
847
849WINAPI
852 int,
853 int,
854 int,
855 int,
856 ULONG,
857 _Out_ BSTR*);
858
860WINAPI
863 int,
864 int,
865 int,
866 int,
867 ULONG,
868 _Out_ BSTR*);
869
871WINAPI
875 LPBYTE,
876 ULONG,
877 _Out_ BSTR*,
878 LCID);
879
881WINAPI
885 int,
886 int,
887 int,
888 LCID,
889 _In_opt_ int*);
890
891
892/*
893 * IDispatch types and helper functions
894 */
895
896/* A structure describing a single parameter to a com object method. */
897typedef struct tagPARAMDATA
898{
899 OLECHAR *szName; /* Name of Parameter */
900 VARTYPE vt; /* Type of Parameter */
902
903/* A structure describing a single method of a com object. */
904typedef struct tagMETHODDATA
905{
906 OLECHAR *szName; /* Name of method */
907 PARAMDATA *ppdata; /* Parameters of the method */
908 DISPID dispid; /* Id of the method */
909 UINT iMeth; /* Vtable index of the method */
910 CALLCONV cc; /* Calling convention of the method */
911 UINT cArgs; /* Number of parameters in the method */
912 WORD wFlags; /* Type of the method (DISPATCH_ flags) */
913 VARTYPE vtReturn; /* Type of the return value */
915
916/* Structure describing a single com object */
917typedef struct tagINTERFACEDATA
918{
919 METHODDATA *pmethdata; /* Methods of the object */
920 UINT cMembers; /* Number of methods in the object */
922
923typedef enum tagREGKIND
924{
929
932WINAPI
934 _In_ DISPPARAMS*,
935 UINT,
936 VARTYPE,
937 _Out_ VARIANT*,
938 _Out_opt_ UINT*);
939
942WINAPI
944 ITypeInfo*,
945 _In_reads_(cNames) OLECHAR**,
946 UINT cNames,
947 _Out_writes_(cNames) DISPID*);
948
951WINAPI
953 void*,
954 ITypeInfo*,
955 DISPID,
956 WORD,
957 DISPPARAMS*,
958 VARIANT*,
959 EXCEPINFO*,
960 UINT*);
961
964WINAPI
967 LCID,
968 ITypeInfo**);
969
972WINAPI
974 IUnknown*,
975 void*,
976 ITypeInfo*,
977 IUnknown**);
978
980WINAPI
982 void*,
983 ULONG_PTR,
984 CALLCONV,
985 VARTYPE,
986 UINT,
987 VARTYPE*,
988 VARIANTARG**,
989 VARIANT*);
990
991
992/*
993 * TypeLib API
994 */
995
998
999#define LHashValOfName(lcid,name) LHashValOfNameSys(SYS_WIN32,lcid,name)
1000#define WHashValOfLHashVal(hash) ((USHORT)((hash) & 0xffff))
1001#define IsHashValCompatible(hash1,hash2) ((hash1) & 0xff0000 == (hash2) & 0xff0000)
1002
1003#define MEMBERID_NIL DISPID_UNKNOWN
1004#define ID_DEFAULTINST -2
1005
1006#define DISPATCH_METHOD 0x1
1007#define DISPATCH_PROPERTYGET 0x2
1008#define DISPATCH_PROPERTYPUT 0x4
1009#define DISPATCH_PROPERTYPUTREF 0x8
1010
1011#define LOAD_TLB_AS_32BIT 0x20
1012#define LOAD_TLB_AS_64BIT 0x40
1013#define MASK_TO_RESET_TLB_BITS ~(LOAD_TLB_AS_32BIT|LOAD_TLB_AS_64BIT)
1014
1016HRESULT
1017WINAPI
1019 SYSKIND,
1020 const OLECHAR*,
1021 ICreateTypeLib**);
1022
1024HRESULT
1025WINAPI
1027 SYSKIND,
1028 LPCOLESTR,
1029 ICreateTypeLib2**);
1030
1032HRESULT
1033WINAPI
1035 REFGUID,
1036 WORD,
1037 WORD,
1038 LCID,
1039 ITypeLib**);
1040
1044
1046HRESULT
1047WINAPI
1049 ITypeLib*,
1050 _In_ LPCOLESTR,
1051 _In_opt_ LPCOLESTR);
1052
1054HRESULT
1055WINAPI
1057 REFGUID,
1058 WORD,
1059 WORD,
1060 LCID,
1061 SYSKIND);
1062
1063HRESULT
1064WINAPI
1066 ITypeLib*,
1067 _In_ OLECHAR*,
1068 _In_opt_ OLECHAR*);
1069
1071
1073
1074#ifdef __cplusplus
1075} /* extern "C" */
1076#endif
1077
1078
1079#endif /*__WINE_OLEAUTO_H*/
#define NULL
Definition: types.h:112
double DATE
Definition: compat.h:2253
WCHAR OLECHAR
Definition: compat.h:2292
OLECHAR * BSTR
Definition: compat.h:2293
unsigned short VARTYPE
Definition: compat.h:2254
short VARIANT_BOOL
Definition: compat.h:2290
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLenum GLsizei len
Definition: glext.h:6722
unsigned int ULONG
Definition: retypes.h:1
unsigned __int64 ULONG64
Definition: imports.h:198
static LPOLESTR
Definition: stg_prop.c:27
static OLECHAR OLECHAR *static SYSKIND
Definition: typelib.c:80
static VARIANTARG static DISPID
Definition: ordinal.c:49
static SCRIPT_CACHE SCRIPT_ANALYSIS * psa
Definition: usp10.c:64
#define _Outptr_result_bytebuffer_(size)
Definition: ms_sal.h:472
#define _Post_z_
Definition: ms_sal.h:691
#define _Out_opt_
Definition: ms_sal.h:346
#define _Inout_
Definition: ms_sal.h:378
#define _In_z_
Definition: ms_sal.h:313
#define _Check_return_
Definition: ms_sal.h:557
#define _In_opt_z_
Definition: ms_sal.h:314
#define _Outptr_
Definition: ms_sal.h:427
#define _Ret_writes_maybenull_z_(size)
Definition: ms_sal.h:541
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Post_equal_to_(expr)
Definition: ms_sal.h:578
#define _At_(target, annos)
Definition: ms_sal.h:244
#define _Out_
Definition: ms_sal.h:345
#define _In_reads_opt_(size)
Definition: ms_sal.h:320
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _Post_readable_size_(size)
Definition: ms_sal.h:649
#define _Pre_z_
Definition: ms_sal.h:668
#define _Outptr_result_buffer_maybenull_(size)
Definition: ms_sal.h:464
#define _In_reads_(size)
Definition: ms_sal.h:319
unsigned int UINT
Definition: ndis.h:50
static LPUNKNOWN
Definition: ndr_ole.c:49
UINT WINAPI SysStringByteLen(BSTR str)
Definition: oleaut.c:215
UINT WINAPI SysStringLen(BSTR str)
Definition: oleaut.c:196
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
Definition: oleaut.c:339
void WINAPI VariantInit(_Out_ VARIANT *)
HRESULT WINAPI VarUI2FromDate(DATE, _Out_ USHORT *)
HRESULT WINAPI VarR8FromUI2(USHORT, _Out_ double *)
HRESULT WINAPI VarR8FromStr(_In_ OLECHAR *, LCID, ULONG, _Out_ double *)
HRESULT WINAPI SafeArrayGetRecordInfo(_In_ SAFEARRAY *, _Outptr_ IRecordInfo **)
INT WINAPI SysReAllocString(_Inout_ _At_(*pbstr, _Pre_z_ _Post_z_ _Post_readable_size_(_String_length_(psz)+1)) LPBSTR pbstr, _In_opt_z_ const OLECHAR *psz)
struct tagPARAMDATA PARAMDATA
HRESULT WINAPI VarUI8FromI2(SHORT, _Out_ ULONG64 *)
HRESULT WINAPI VarUI1FromI2(SHORT, _Out_ BYTE *)
HRESULT WINAPI VarI1FromI2(_In_ SHORT, _Out_ signed char *)
struct tagINTERFACEDATA * LPINTERFACEDATA
HRESULT WINAPI VarI4FromR8(DOUBLE, _Out_ LONG *)
HRESULT WINAPI VarR4FromI2(SHORT, _Out_ FLOAT *)
HRESULT WINAPI VarDecFromBool(_In_ VARIANT_BOOL, _Out_ DECIMAL *)
UINT WINAPI SafeArrayGetDim(_In_ SAFEARRAY *)
HRESULT WINAPI VarI1FromCy(_In_ CY, _Out_ signed char *)
HRESULT WINAPI VarR4FromUI2(USHORT, _Out_ FLOAT *)
HRESULT WINAPI VarCySub(_In_ CY, _In_ CY, _Out_ CY *)
HRESULT WINAPI VarBstrFromDec(_In_ DECIMAL *, _In_ LCID, _In_ ULONG, _Out_ BSTR *)
HRESULT WINAPI VarDecFromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ DECIMAL *)
HRESULT WINAPI VarUI4FromUI1(BYTE, _Out_ ULONG *)
HRESULT WINAPI SetErrorInfo(_In_ ULONG, _In_opt_ IErrorInfo *)
HRESULT WINAPI VarDateFromI2(SHORT, _Out_ DATE *)
HRESULT WINAPI VarUI1FromR8(DOUBLE, _Out_ BYTE *)
HRESULT WINAPI VarUI1FromStr(_In_ OLECHAR *, LCID, ULONG, _Out_ BYTE *)
_Check_return_ HRESULT WINAPI VarDateFromUdate(_In_ UDATE *, _In_ ULONG, _Out_ DATE *)
HRESULT WINAPI VarI1FromR4(_In_ FLOAT, _Out_ signed char *)
HRESULT WINAPI VarI4FromUI1(BYTE, _Out_ LONG *)
HRESULT WINAPI VarCmp(_In_ LPVARIANT, _In_ LPVARIANT, _In_ LCID, _In_ ULONG)
HRESULT WINAPI VarUI1FromI4(LONG, _Out_ BYTE *)
HRESULT WINAPI VarBstrFromUI1(BYTE, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarUI1FromUI4(ULONG, _Out_ BYTE *)
HRESULT WINAPI VarDecFix(_In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarR4FromCy(CY, FLOAT *)
Definition: vartype.c:2790
HRESULT WINAPI VarMod(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
void WINAPI SysFreeString(_In_opt_ BSTR)
HRESULT WINAPI VarBstrFromUI2(USHORT, LCID, ULONG, _Out_ BSTR *)
_Check_return_ HRESULT WINAPI VariantChangeTypeEx(_Inout_ VARIANT *, _In_ VARIANT *, _In_ LCID, _In_ USHORT, _In_ VARTYPE)
HRESULT WINAPI VarI4FromI8(LONG64, _Out_ LONG *)
HRESULT WINAPI VarI8FromCy(_In_ CY, _Out_ LONG64 *)
HRESULT WINAPI VarI8FromUI4(ULONG, _Out_ LONG64 *)
HRESULT WINAPI VarI2FromI4(LONG, _Out_ SHORT *)
HRESULT WINAPI VarCyFix(_In_ CY, _Out_ CY *)
HRESULT WINAPI VarDecMul(_In_ const DECIMAL *, _In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarBoolFromCy(CY, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarR4FromUI1(BYTE, _Out_ FLOAT *)
HRESULT WINAPI VarUI4FromI1(signed char, _Out_ ULONG *)
HRESULT WINAPI VarXor(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarBstrFromI8(LONG64, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarDecFromI4(_In_ LONG, _Out_ DECIMAL *)
_Check_return_ HRESULT WINAPI VariantCopy(_Inout_ VARIANT *, _In_ VARIANT *)
UINT WINAPI SafeArrayGetElemsize(_In_ SAFEARRAY *)
HRESULT WINAPI VarR8FromUI4(ULONG, _Out_ double *)
HRESULT WINAPI VarUI1FromR4(FLOAT, _Out_ BYTE *)
HRESULT WINAPI SafeArrayGetVartype(_In_ SAFEARRAY *, _Out_ VARTYPE *)
HRESULT WINAPI VarUI1FromUI8(ULONG64, _Out_ BYTE *)
HRESULT WINAPI VarCyCmpR8(_In_ CY, _In_ DOUBLE)
HRESULT WINAPI VarDecFromUI1(_In_ BYTE, _Out_ DECIMAL *)
HRESULT WINAPI VarBoolFromI8(LONG64, _Out_ VARIANT_BOOL *)
_Check_return_ HRESULT WINAPI VectorFromBstr(_In_ BSTR, _Outptr_ SAFEARRAY **)
HRESULT WINAPI VarPow(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarR4FromI1(signed char, _Out_ FLOAT *)
HRESULT WINAPI VarUI8FromUI2(USHORT, _Out_ ULONG64 *)
HRESULT WINAPI VarBoolFromUI1(BYTE, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarI1FromI4(_In_ LONG, _Out_ signed char *)
_Check_return_ HRESULT WINAPI CreateTypeLib(SYSKIND, const OLECHAR *, ICreateTypeLib **)
HRESULT WINAPI VarUI1FromUI2(USHORT, _Out_ BYTE *)
HRESULT WINAPI VarR8FromI8(LONG64, _Out_ double *)
HRESULT WINAPI VarBstrFromI1(signed char, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarBstrFromR8(DOUBLE, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarCyMul(_In_ CY, _In_ CY, _Out_ CY *)
HRESULT WINAPI VarCyFromR4(FLOAT, _Out_ CY *)
HRESULT WINAPI LoadTypeLib(_In_z_ const OLECHAR *, ITypeLib **)
HRESULT WINAPI VarBoolFromDate(DATE, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarUI8FromR8(DOUBLE, _Out_ ULONG64 *)
HRESULT WINAPI VarDateFromI8(LONG64, _Out_ DATE *)
HRESULT WINAPI SafeArrayDestroyDescriptor(_In_ SAFEARRAY *)
_Check_return_ HRESULT WINAPI DispInvoke(void *, ITypeInfo *, DISPID, WORD, DISPPARAMS *, VARIANT *, EXCEPINFO *, UINT *)
Definition: dispatch.c:63
HRESULT WINAPI SafeArrayAllocDescriptor(_In_ UINT, _Outptr_ SAFEARRAY **)
HRESULT WINAPI VarDiv(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarCyFromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ CY *)
HRESULT WINAPI VarSub(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarUI8FromDisp(_In_ IDispatch *, LCID, _Out_ ULONG64 *)
_Check_return_ HRESULT WINAPI BstrFromVector(_In_ SAFEARRAY *, _Out_ BSTR *)
HRESULT WINAPI SafeArrayUnaccessData(_In_ SAFEARRAY *)
HRESULT WINAPI VarI2FromDisp(IDispatch *, LCID, _Out_ SHORT *)
HRESULT WINAPI VarI8FromI2(SHORT, _Out_ LONG64 *)
HRESULT WINAPI VarCyCmp(_In_ CY, _In_ CY)
HRESULT WINAPI SafeArrayDestroy(_In_ SAFEARRAY *)
HRESULT WINAPI VariantClear(_Inout_ VARIANT *)
HRESULT WINAPI VarDecNeg(_In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarDateFromI4(LONG, _Out_ DATE *)
HRESULT WINAPI VarI1FromDate(_In_ DATE, _Out_ signed char *)
HRESULT WINAPI SafeArrayAllocData(_In_ SAFEARRAY *)
HRESULT WINAPI VarUI8FromDec(_In_ DECIMAL *, _Out_ ULONG64 *)
HRESULT WINAPI VarInt(_In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarNeg(_In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarI2FromStr(_In_ OLECHAR *, LCID, ULONG, _Out_ SHORT *)
HRESULT WINAPI SafeArrayAccessData(_In_ SAFEARRAY *, void **)
HRESULT WINAPI VarR8Round(_In_ double, _In_ int, _Out_ double *)
HRESULT WINAPI VarI4FromI2(SHORT, _Out_ LONG *)
HRESULT WINAPI VarI4FromUI4(ULONG, _Out_ LONG *)
struct tagMETHODDATA METHODDATA
HRESULT WINAPI VarDecFromUI4(_In_ ULONG, _Out_ DECIMAL *)
HRESULT WINAPI VarI1FromUI8(_In_ ULONG64, _Out_ signed char *)
HRESULT WINAPI VarDecFromR8(_In_ DOUBLE, _Out_ DECIMAL *)
HRESULT WINAPI VarUI8FromI4(LONG, _Out_ ULONG64 *)
HRESULT WINAPI VarI4FromStr(_In_ OLECHAR *, LCID, ULONG, _Out_ LONG *)
HRESULT WINAPI VarR4FromUI8(ULONG64, _Out_ FLOAT *)
HRESULT WINAPI VarUI2FromUI4(ULONG, _Out_ USHORT *)
HRESULT WINAPI VarI4FromR4(FLOAT, _Out_ LONG *)
HRESULT WINAPI VarCyFromBool(VARIANT_BOOL, _Out_ CY *)
HRESULT WINAPI VarDecFromCy(_In_ CY, _Out_ DECIMAL *)
HRESULT WINAPI SafeArrayLock(_In_ SAFEARRAY *)
HRESULT WINAPI VarBstrFromUI8(ULONG64, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarCyAbs(_In_ CY, _Out_ CY *)
HRESULT WINAPI VarUI1FromCy(CY, _Out_ BYTE *)
HRESULT WINAPI VarAdd(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarFormatFromTokens(_In_ LPVARIANT, _In_opt_ LPOLESTR, LPBYTE, ULONG, _Out_ BSTR *, LCID)
HRESULT WINAPI VarDateFromDec(_In_ DECIMAL *, _Out_ DATE *)
HRESULT WINAPI VarR4FromR8(DOUBLE, _Out_ FLOAT *)
HRESULT WINAPI VarUI8FromCy(CY, _Out_ ULONG64 *)
SAFEARRAY *WINAPI SafeArrayCreateVectorEx(_In_ VARTYPE, _In_ LONG, _In_ ULONG, _In_ LPVOID)
HRESULT WINAPI VarFormatDateTime(_In_ LPVARIANT, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarAbs(_In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarDecCmpR8(_In_ const DECIMAL *, _In_ DOUBLE)
HRESULT WINAPI VarBoolFromR8(DOUBLE, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarBstrFromCy(CY, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarI1FromUI4(_In_ ULONG, _Out_ signed char *)
_Check_return_ HRESULT WINAPI VarBoolFromI2(_In_ SHORT, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarI4FromUI2(USHORT, _Out_ LONG *)
HRESULT WINAPI VarRound(_In_ LPVARIANT, _In_ int, _Out_ LPVARIANT)
HRESULT WINAPI VarR8FromCy(CY, double *)
Definition: vartype.c:3113
HRESULT WINAPI VarI2FromI8(LONG64, _Out_ SHORT *)
ULONG WINAPI LHashValOfNameSysA(SYSKIND, LCID, LPCSTR)
Definition: hash.c:506
HRESULT WINAPI SafeArraySetIID(_In_ SAFEARRAY *, _In_ REFGUID)
HRESULT WINAPI VarR8FromDec(_In_ const DECIMAL *, _Out_ double *)
SAFEARRAY *WINAPI SafeArrayCreate(_In_ VARTYPE, _In_ UINT, _In_ SAFEARRAYBOUND *)
HRESULT WINAPI VarDecFromI1(_In_ signed char, _Out_ DECIMAL *)
HRESULT WINAPI VarCyRound(_In_ CY, _In_ INT, _Out_ CY *)
INT WINAPI VariantTimeToSystemTime(_In_ DOUBLE, _Out_ LPSYSTEMTIME)
HRESULT WINAPI VarR8FromR4(FLOAT, _Out_ double *)
HRESULT WINAPI VarR8FromUI1(BYTE, _Out_ double *)
HRESULT WINAPI VarR8FromUI8(ULONG64, _Out_ double *)
HRESULT WINAPI VarCyFromI1(signed char, _Out_ CY *)
HRESULT WINAPI VarDateFromBool(VARIANT_BOOL, _Out_ DATE *)
HRESULT WINAPI VarI8FromBool(VARIANT_BOOL, _Out_ LONG64 *)
HRESULT WINAPI VarDateFromCy(CY, _Out_ DATE *)
HRESULT WINAPI VarDateFromR4(FLOAT, _Out_ DATE *)
HRESULT WINAPI VarI8FromUI1(BYTE, _Out_ LONG64 *)
HRESULT WINAPI VarUI1FromBool(VARIANT_BOOL, _Out_ BYTE *)
HRESULT WINAPI VarDecAbs(_In_ const DECIMAL *, _Out_ DECIMAL *)
_Check_return_ HRESULT WINAPI CreateTypeLib2(SYSKIND, LPCOLESTR, ICreateTypeLib2 **)
Definition: typelib.c:9043
HRESULT WINAPI VarCyMulI8(_In_ CY, _In_ LONG64, _Out_ CY *)
HRESULT WINAPI SafeArrayGetUBound(_In_ SAFEARRAY *, _In_ UINT, _Out_ LONG *)
HRESULT WINAPI VarR4FromI4(LONG, _Out_ FLOAT *)
HRESULT WINAPI VarR8Pow(_In_ double, _In_ double, _Out_ double *)
HRESULT WINAPI VarUI4FromDate(DATE, _Out_ ULONG *)
HRESULT WINAPI VarCat(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarDateFromR8(DOUBLE, _Out_ DATE *)
HRESULT WINAPI VarI2FromUI2(USHORT, _Out_ SHORT *)
HRESULT WINAPI VarI1FromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ signed char *)
HRESULT WINAPI VarCyMulI4(_In_ CY, _In_ LONG, _Out_ CY *)
HRESULT WINAPI VarUI2FromR4(FLOAT, _Out_ USHORT *)
HRESULT WINAPI VarDecDiv(_In_ const DECIMAL *, _In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarTokenizeFormatString(_In_opt_ LPOLESTR, _Inout_ LPBYTE, int, int, int, LCID, _In_opt_ int *)
HRESULT WINAPI VarBstrFromI4(LONG, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarMonthName(int, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarI8FromUI8(ULONG64, _Out_ LONG64 *)
HRESULT WINAPI VarUI2FromUI1(BYTE, _Out_ USHORT *)
HRESULT WINAPI VarImp(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
BSTR WINAPI SysAllocString(_In_opt_z_ const OLECHAR *)
_Check_return_ HRESULT WINAPI VariantCopyInd(_Inout_ VARIANT *, _In_ VARIANT *)
_Check_return_ HRESULT WINAPI DispGetParam(_In_ DISPPARAMS *, UINT, VARTYPE, _Out_ VARIANT *, _Out_opt_ UINT *)
HRESULT WINAPI VarBoolFromR4(FLOAT, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarCyInt(_In_ CY, _Out_ CY *)
HRESULT WINAPI VarBstrFromDisp(IDispatch *, LCID, ULONG, _Out_ BSTR *)
#define VarI8FromInt
Definition: oleauto.h:595
HRESULT WINAPI VarI1FromR8(_In_ DOUBLE, _Out_ signed char *)
HRESULT WINAPI VarDateFromUI4(ULONG, _Out_ DATE *)
HRESULT WINAPI VarUI8FromBool(VARIANT_BOOL, _Out_ ULONG64 *)
HRESULT WINAPI VarUI4FromCy(CY, _Out_ ULONG *)
HRESULT WINAPI VarDecFromUI2(_In_ USHORT, _Out_ DECIMAL *)
_Check_return_ HRESULT WINAPI LoadTypeLibEx(LPCOLESTR, REGKIND, ITypeLib **)
Definition: typelib.c:473
HRESULT WINAPI VarUI2FromI4(LONG, _Out_ USHORT *)
HRESULT WINAPI VarDateFromUI8(ULONG64, _Out_ DATE *)
HRESULT WINAPI VarCyFromDisp(_In_ IDispatch *, LCID, _Out_ CY *)
SAFEARRAY *WINAPI SafeArrayCreateVector(_In_ VARTYPE, _In_ LONG, _In_ ULONG)
HRESULT WINAPI VarDateFromUdateEx(_In_ UDATE *, _In_ LCID, _In_ ULONG, _Out_ DATE *)
HRESULT WINAPI VarUI2FromUI8(ULONG64, _Out_ USHORT *)
HRESULT WINAPI VarFormatNumber(_In_ LPVARIANT, int, int, int, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarI4FromBool(VARIANT_BOOL, _Out_ LONG *)
HRESULT WINAPI VarI2FromUI8(ULONG64, _Out_ SHORT *)
HRESULT WINAPI VarI2FromR4(FLOAT, _Out_ SHORT *)
HRESULT WINAPI VarI8FromUI2(USHORT, _Out_ LONG64 *)
struct tagPARAMDATA * LPPARAMDATA
HRESULT WINAPI VarDateFromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ DATE *)
HRESULT WINAPI VarBoolFromUI4(ULONG, _Out_ VARIANT_BOOL *)
_Check_return_ int WINAPI SysReAllocStringLen(_Inout_ _At_(*pbstr, _Pre_z_ _Post_z_ _Post_readable_size_(len+1)) BSTR *pbstr, _In_opt_z_ const OLECHAR *, _In_ UINT len)
HRESULT WINAPI SafeArraySetRecordInfo(_In_ SAFEARRAY *, _In_ IRecordInfo *)
HRESULT WINAPI VarUI4FromI2(_In_ SHORT, _Out_ ULONG *)
tagREGKIND
Definition: oleauto.h:924
@ REGKIND_NONE
Definition: oleauto.h:927
@ REGKIND_DEFAULT
Definition: oleauto.h:925
@ REGKIND_REGISTER
Definition: oleauto.h:926
HRESULT WINAPI VarCyFromUI1(BYTE, _Out_ CY *)
_Check_return_ HRESULT WINAPI CreateDispTypeInfo(INTERFACEDATA *, LCID, ITypeInfo **)
Definition: typelib.c:8792
HRESULT WINAPI VarMul(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
_Check_return_ HRESULT WINAPI SafeArrayCopyData(_In_ SAFEARRAY *, _In_ SAFEARRAY *)
HRESULT WINAPI VarI1FromBool(_In_ VARIANT_BOOL, _Out_ signed char *)
HRESULT WINAPI VarUI2FromI8(LONG64, _Out_ USHORT *)
HRESULT WINAPI VarI8FromDec(_In_ DECIMAL *pdecIn, _Out_ LONG64 *)
HRESULT WINAPI VarEqv(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
ULONG WINAPI LHashValOfNameSys(SYSKIND, LCID, LPCOLESTR)
Definition: hash.c:628
HRESULT WINAPI VarDateFromDisp(IDispatch *, LCID, _Out_ DATE *)
HRESULT WINAPI VarI8FromI1(signed char, _Out_ LONG64 *)
HRESULT WINAPI VarBstrFromBool(VARIANT_BOOL, LCID, ULONG, _Out_ BSTR *)
VOID WINAPI ClearCustData(LPCUSTDATA)
HRESULT WINAPI VarR8FromDate(DATE, _Out_ double *)
HRESULT WINAPI VarUI8FromR4(FLOAT, _Out_ ULONG64 *)
HRESULT WINAPI VarI4FromDate(DATE, _Out_ LONG *)
HRESULT WINAPI VarCyFromI2(SHORT sIn, _Out_ CY *)
HRESULT WINAPI VarFormat(_In_ LPVARIANT, _In_opt_ LPOLESTR, int, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarR4FromStr(_In_ OLECHAR *, LCID, ULONG, _Out_ FLOAT *)
HRESULT WINAPI VarI2FromR8(DOUBLE, _Out_ SHORT *)
HRESULT WINAPI VarUI2FromCy(CY, _Out_ USHORT *)
_Check_return_ HRESULT WINAPI CreateErrorInfo(_Outptr_ ICreateErrorInfo **)
HRESULT WINAPI VarI2FromDec(_In_ DECIMAL *, _Out_ SHORT *)
HRESULT WINAPI SafeArrayUnlock(_In_ SAFEARRAY *)
HRESULT WINAPI SafeArrayAllocDescriptorEx(_In_ VARTYPE, _In_ UINT, _Outptr_ SAFEARRAY **)
HRESULT WINAPI VarI4FromUI8(ULONG64, _Out_ LONG *)
HRESULT WINAPI VarDecRound(_In_ const DECIMAL *, int, _Out_ DECIMAL *)
HRESULT WINAPI VarDecInt(_In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarR4FromBool(VARIANT_BOOL, _Out_ FLOAT *)
HRESULT WINAPI VarUI4FromUI2(USHORT, _Out_ ULONG *)
HRESULT WINAPI VarI2FromUI1(BYTE, _Out_ SHORT *)
HRESULT WINAPI VarR4FromI8(LONG64, _Out_ FLOAT *)
HRESULT WINAPI VarI2FromI1(signed char, _Out_ SHORT *)
HRESULT WINAPI VarBoolFromDec(_In_ DECIMAL *, _Out_ VARIANT_BOOL *)
_Check_return_ HRESULT WINAPI RegisterActiveObject(LPUNKNOWN, REFCLSID, DWORD, LPDWORD)
Definition: oleaut.c:526
HRESULT WINAPI VarDecFromUI8(ULONG64, _Out_ DECIMAL *)
INT WINAPI SystemTimeToVariantTime(_In_ LPSYSTEMTIME, _Out_ double *)
HRESULT WINAPI VarCyFromI4(LONG, _Out_ CY *)
HRESULT WINAPI VarBoolFromStr(_In_ OLECHAR *, LCID, ULONG, _Out_ VARIANT_BOOL *)
HRESULT WINAPI SafeArrayGetIID(_In_ SAFEARRAY *, _Out_ GUID *)
HRESULT WINAPI VarBstrCat(_In_ BSTR, _In_ BSTR, _Out_ BSTR *)
HRESULT WINAPI VarI8FromR4(FLOAT, _Out_ LONG64 *)
HRESULT WINAPI VarI4FromDisp(IDispatch *, _In_ LCID, _Out_ LONG *)
enum tagREGKIND REGKIND
HRESULT WINAPI VarUI8FromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ ULONG64 *)
HRESULT WINAPI VarDecFromDisp(_In_ IDispatch *, _In_ LCID, _Out_ DECIMAL *)
HRESULT WINAPI VarCyFromDec(_In_ DECIMAL *, _Out_ CY *)
HRESULT WINAPI VarNot(_In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarCyFromUI4(ULONG, _Out_ CY *)
HRESULT WINAPI VarI8FromI4(LONG, LONG64 *)
HRESULT WINAPI VarI1FromDisp(_In_ IDispatch *, _In_ LCID, _Out_ signed char *)
_Check_return_ HRESULT WINAPI GetAltMonthNames(LCID, _Outptr_result_buffer_maybenull_(13) LPOLESTR **)
HRESULT WINAPI VarI8FromR8(DOUBLE, _Out_ LONG64 *)
HRESULT WINAPI VarBstrFromUI4(ULONG, LCID, ULONG, _Out_ BSTR *)
_Check_return_ HRESULT WINAPI CreateStdDispatch(IUnknown *, void *, ITypeInfo *, IUnknown **)
Definition: dispatch.c:434
UINT ui
Definition: oleauto.h:49
HRESULT WINAPI SafeArrayRedim(_Inout_ SAFEARRAY *, _In_ SAFEARRAYBOUND *)
_Check_return_ HRESULT WINAPI DispGetIDsOfNames(ITypeInfo *, _In_reads_(cNames) OLECHAR **, UINT cNames, _Out_writes_(cNames) DISPID *)
HRESULT WINAPI VarUI2FromI2(SHORT, _Out_ USHORT *)
HRESULT WINAPI VarBstrFromR4(FLOAT, LCID, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarUI2FromI1(signed char, _Out_ USHORT *)
HRESULT WINAPI VarFix(_In_ LPVARIANT, _Out_ LPVARIANT)
SAFEARRAY *WINAPI SafeArrayCreateEx(_In_ VARTYPE, _In_ UINT, _In_ SAFEARRAYBOUND *, _In_ LPVOID)
_Check_return_ HRESULT WINAPI VarUdateFromDate(_In_ DATE, _In_ ULONG, _Out_ UDATE *)
HRESULT WINAPI VarI2FromBool(VARIANT_BOOL, _Out_ SHORT *)
HRESULT WINAPI VarR8FromI4(LONG, _Out_ double *)
HRESULT WINAPI VarR4CmpR8(_In_ float, _In_ double)
HRESULT WINAPI VarUI4FromR8(DOUBLE, _Out_ ULONG *)
HRESULT WINAPI VarCyAdd(_In_ CY, _In_ CY, _Out_ CY *)
HRESULT WINAPI VarR4FromUI4(ULONG, _Out_ FLOAT *)
HRESULT WINAPI VarI1FromDec(_In_ DECIMAL *, _Out_ signed char *)
HRESULT WINAPI VarI1FromUI2(_In_ USHORT, _Out_ signed char *)
HRESULT WINAPI VarUI4FromI4(LONG, _Out_ ULONG *)
HRESULT WINAPI VarUI1FromDate(DATE, _Out_ BYTE *)
#define VarUI8FromInt
Definition: oleauto.h:615
HRESULT WINAPI VarUI4FromDisp(_In_ IDispatch *, LCID, _Out_ ULONG *)
HRESULT WINAPI QueryPathOfRegTypeLib(REFGUID, WORD, WORD, LCID, LPBSTR)
Definition: typelib.c:406
HRESULT WINAPI VarWeekdayName(int, int, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarI8FromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ LONG64 *)
HRESULT WINAPI DispCallFunc(void *, ULONG_PTR, CALLCONV, VARTYPE, UINT, VARTYPE *, VARIANTARG **, VARIANT *)
Definition: typelib.c:7071
HRESULT WINAPI VarR4FromDec(_In_ DECIMAL *, _Out_ FLOAT *)
HRESULT WINAPI VarCyFromR8(DOUBLE, _Out_ CY *)
HRESULT WINAPI VarDecSub(_In_ const DECIMAL *, _In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarUI1FromI8(LONG64, _Out_ BYTE *)
_Check_return_ HRESULT WINAPI VarParseNumFromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ NUMPARSE *, _Out_ BYTE *)
HRESULT WINAPI VarBstrCmp(_In_ BSTR, _In_ BSTR, _In_ LCID, _In_ ULONG)
HRESULT WINAPI VarI1FromUI1(_In_ BYTE, _Out_ signed char *)
HRESULT WINAPI VarOr(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarUI2FromR8(DOUBLE, USHORT *)
Definition: vartype.c:1269
HRESULT WINAPI VarUI8FromI8(LONG64, _Out_ ULONG64 *)
HRESULT WINAPI VarR8FromBool(VARIANT_BOOL, _Out_ double *)
HRESULT WINAPI VarCyFromDate(DATE, _Out_ CY *)
HRESULT WINAPI VarUI2FromDisp(_In_ IDispatch *, LCID, _Out_ USHORT *)
HRESULT WINAPI VarI2FromUI4(ULONG, _Out_ SHORT *)
HRESULT WINAPI VarUI2FromDec(_In_ DECIMAL *, _Out_ USHORT *)
HRESULT WINAPI VarUI4FromUI8(ULONG64, _Out_ ULONG *)
HRESULT WINAPI GetRecordInfoFromTypeInfo(ITypeInfo *, IRecordInfo **)
Definition: recinfo.c:625
HRESULT WINAPI VarDecFromI2(_In_ SHORT, _Out_ DECIMAL *)
HRESULT WINAPI VarDecFromR4(_In_ FLOAT, _Out_ DECIMAL *)
HRESULT WINAPI VarI4FromI1(signed char, _Out_ LONG *)
HRESULT WINAPI VarUI1FromI1(signed char, _Out_ BYTE *)
HRESULT WINAPI VarI4FromCy(CY, _Out_ LONG *)
HRESULT WINAPI VarDateFromUI2(USHORT, _Out_ DATE *)
HRESULT WINAPI VarI8FromDate(DATE, _Out_ LONG64 *)
HRESULT WINAPI VarBoolFromDisp(IDispatch *, LCID, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarI2FromCy(CY, SHORT *)
Definition: vartype.c:978
_Check_return_ HRESULT WINAPI RegisterTypeLib(ITypeLib *, _In_ LPCOLESTR, _In_opt_ LPCOLESTR)
HRESULT WINAPI VarFormatCurrency(_In_ LPVARIANT, int, int, int, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarCyFromUI8(ULONG64, _Out_ CY *)
HRESULT WINAPI VarDateFromUI1(BYTE, _Out_ DATE *)
HRESULT WINAPI VarR8FromI1(signed char, double *)
Definition: vartype.c:3209
struct tagMETHODDATA * LPMETHODDATA
HRESULT WINAPI VarBstrFromDate(_In_ DATE, _In_ LCID, _In_ ULONG, _Out_ BSTR *)
HRESULT WINAPI VarBstrFromI2(SHORT, LCID, ULONG, BSTR *)
Definition: vartype.c:6417
HRESULT WINAPI VarUI1FromDisp(IDispatch *, LCID, _Out_ BYTE *)
HRESULT WINAPI VarDecAdd(_In_ const DECIMAL *, _In_ const DECIMAL *, _Out_ DECIMAL *)
HRESULT WINAPI VarI2FromDate(DATE, _Out_ SHORT *)
HRESULT WINAPI SafeArrayPtrOfIndex(_In_ SAFEARRAY *psa, _In_reads_(psa->cDims) LONG *, _Outptr_result_bytebuffer_(psa->cbElements) void **)
HRESULT WINAPI VarI1FromI8(_In_ LONG64, _Out_ signed char *)
HRESULT WINAPI VarUI2FromBool(VARIANT_BOOL, _Out_ USHORT *)
HRESULT WINAPI GetActiveObject(REFCLSID, LPVOID, LPUNKNOWN *)
Definition: oleaut.c:592
HRESULT WINAPI VarDateFromI1(signed char, _Out_ DATE *)
HRESULT WINAPI VarUI8FromI1(signed char, _Out_ ULONG64 *)
HRESULT WINAPI VarBoolFromI4(LONG, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarUI4FromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ ULONG *)
_Check_return_ HRESULT WINAPI VariantChangeType(_Inout_ VARIANT *, _In_ VARIANT *, _In_ USHORT, _In_ VARTYPE)
HRESULT WINAPI SafeArrayGetElement(_In_ SAFEARRAY *, LONG *, _Out_ void *)
HRESULT WINAPI VarUI4FromI8(LONG64, _Out_ ULONG *)
HRESULT WINAPI VarUI4FromBool(VARIANT_BOOL, _Out_ ULONG *)
HRESULT WINAPI VarBoolFromUI8(ULONG64, _Out_ VARIANT_BOOL *)
struct tagINTERFACEDATA INTERFACEDATA
INT WINAPI VariantTimeToDosDateTime(_In_ double, _Out_ USHORT *, _Out_ USHORT *)
HRESULT WINAPI VarUI4FromR4(FLOAT, _Out_ ULONG *)
_Check_return_ HRESULT WINAPI SafeArrayCopy(_In_ SAFEARRAY *, _Outptr_ SAFEARRAY **)
HRESULT WINAPI VarFormatPercent(_In_ LPVARIANT, int, int, int, int, ULONG, _Out_ BSTR *)
HRESULT WINAPI VarCyNeg(_In_ CY, _Out_ CY *)
HRESULT WINAPI VarBoolFromI1(signed char, _Out_ VARIANT_BOOL *)
HRESULT WINAPI RegisterTypeLibForUser(ITypeLib *, _In_ OLECHAR *, _In_opt_ OLECHAR *)
HRESULT WINAPI VarIdiv(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarDecFromDate(_In_ DATE, _Out_ DECIMAL *)
HRESULT WINAPI VarR4FromDate(DATE, _Out_ FLOAT *)
HRESULT WINAPI VarBoolFromUI2(USHORT, _Out_ VARIANT_BOOL *)
HRESULT WINAPI VarUI8FromUI1(BYTE, _Out_ ULONG64 *)
HRESULT WINAPI RevokeActiveObject(DWORD, LPVOID)
Definition: oleaut.c:565
_Check_return_ HRESULT WINAPI GetErrorInfo(_In_ ULONG, _Outptr_ IErrorInfo **)
HRESULT WINAPI VarUI2FromStr(_In_ OLECHAR *, _In_ LCID, _In_ ULONG, _Out_ USHORT *)
_Check_return_ HRESULT WINAPI LoadRegTypeLib(REFGUID, WORD, WORD, LCID, ITypeLib **)
Definition: typelib.c:531
INT WINAPI DosDateTimeToVariantTime(_In_ USHORT, _In_ USHORT, _Out_ double *)
HRESULT WINAPI VarAnd(_In_ LPVARIANT, _In_ LPVARIANT, _Out_ LPVARIANT)
HRESULT WINAPI VarUI8FromUI4(ULONG, _Out_ ULONG64 *)
_Check_return_ HRESULT WINAPI SafeArrayPutElement(_In_ SAFEARRAY *, LONG *, _In_ void *)
HRESULT WINAPI GetRecordInfoFromGuids(REFGUID, ULONG, ULONG, LCID, REFGUID, IRecordInfo **)
Definition: recinfo.c:594
HRESULT WINAPI VarCyFromI8(LONG64, _Out_ CY *)
HRESULT WINAPI VarUI1FromDec(_In_ DECIMAL *, _Out_ BYTE *)
HRESULT WINAPI VarR4FromDisp(IDispatch *, LCID, _Out_ FLOAT *)
HRESULT WINAPI VarR8FromDisp(IDispatch *, LCID, _Out_ double *)
HRESULT WINAPI SafeArrayDestroyData(_In_ SAFEARRAY *)
_Check_return_ HRESULT WINAPI VarNumFromParseNum(_In_ NUMPARSE *, _In_ BYTE *, _In_ ULONG, _Out_ VARIANT *)
HRESULT WINAPI VarDecFromI8(LONG64, _Out_ DECIMAL *)
HRESULT WINAPI VarI4FromDec(_In_ DECIMAL *, _Out_ LONG *)
HRESULT WINAPI VarR8FromI2(SHORT, _Out_ double *)
HRESULT WINAPI VarUI8FromDate(DATE, _Out_ ULONG64 *)
HRESULT WINAPI VarI8FromDisp(IDispatch *, _In_ LCID, _Out_ LONG64 *)
ULONG WINAPI OaBuildVersion(void)
Definition: oleaut.c:644
HRESULT WINAPI VarDecCmp(_In_ const DECIMAL *, _In_ const DECIMAL *)
HRESULT WINAPI VarUI4FromDec(_In_ DECIMAL *, _Out_ ULONG *)
HRESULT WINAPI UnRegisterTypeLibForUser(REFGUID, WORD, WORD, LCID, SYSKIND)
Definition: typelib.c:1045
BSTR WINAPI SysAllocStringByteLen(_In_opt_z_ LPCSTR, _In_ UINT)
HRESULT WINAPI VarCyFromUI2(USHORT, _Out_ CY *)
HRESULT WINAPI SafeArrayGetLBound(_In_ SAFEARRAY *, _In_ UINT, _Out_ LONG *)
_Check_return_ HRESULT WINAPI UnRegisterTypeLib(REFGUID, WORD, WORD, LCID, SYSKIND)
Definition: typelib.c:882
short SHORT
Definition: pedump.c:59
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
#define DEFINE_OLEGUID(name, l, w1, w2)
Definition: guiddef.h:73
#define REFCLSID
Definition: guiddef.h:117
DWORD LCID
Definition: nls.h:13
ULONG dwInFlags
Definition: oleauto.h:728
INT cDig
Definition: oleauto.h:727
ULONG dwOutFlags
Definition: oleauto.h:729
INT nBaseShift
Definition: oleauto.h:731
INT cchUsed
Definition: oleauto.h:730
INT nPwr10
Definition: oleauto.h:732
Definition: oleauto.h:720
SYSTEMTIME st
Definition: oleauto.h:721
USHORT wDayOfYear
Definition: oleauto.h:722
Definition: scsiwmi.h:51
METHODDATA * pmethdata
Definition: oleauto.h:919
DISPID dispid
Definition: oleauto.h:908
UINT iMeth
Definition: oleauto.h:909
VARTYPE vtReturn
Definition: oleauto.h:913
PARAMDATA * ppdata
Definition: oleauto.h:907
UINT cArgs
Definition: oleauto.h:911
WORD wFlags
Definition: oleauto.h:912
CALLCONV cc
Definition: oleauto.h:910
OLECHAR * szName
Definition: oleauto.h:906
OLECHAR * szName
Definition: oleauto.h:899
VARTYPE vt
Definition: oleauto.h:900
int64_t LONG64
Definition: typedefs.h:68
unsigned char * LPBYTE
Definition: typedefs.h:53
float FLOAT
Definition: typedefs.h:69
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
double DOUBLE
Definition: typedefs.h:70
Definition: compat.h:2255
#define WINAPI
Definition: msvc.h:6
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
const char * LPCSTR
Definition: xmlstorage.h:183
unsigned char BYTE
Definition: xxhash.c:193
#define const
Definition: zconf.h:233