37#define VB_E_CANNOT_CREATE_OBJ 0x800a01ad
38#define VB_E_MK_PARSE_ERROR 0x800a01b0
42 {0x10200490,0xfa38,0x11d0,{0xac,0x0e,0x00,0xa0,0xc9,0xf,0xff,0xc0}};
124 TRACE(
"(%p)->(%u %u %p)\n",
This, iTInfo, lcid, ppTInfo);
160 FIXME(
"NULL context\n");
164 for(
i = 0;
i < name_cnt;
i++) {
184 FIXME(
"NULL context\n");
188 if(
id >=
This->member_cnt || (!
This->members[
id].proc && !
This->members[
id].flags))
190 prop =
This->members +
id;
195 FIXME(
"property does not support DISPATCH_PROPERTYGET\n");
201 const int vt = prop->min_args,
val = prop->max_args;
230 FIXME(
"Call on property\n");
236 FIXME(
"property does not support DISPATCH_PROPERTYPUT\n");
249 if(argn < prop->min_args || argn > (prop->max_args ? prop->max_args : prop->min_args)) {
250 WARN(
"invalid number of arguments\n");
256 for(
i=0;
i < argn;
i++) {
260 args[
i] = dp->rgvarg[dp->cArgs-
i-1];
305 hres = IActiveScriptSite_QueryInterface(
ctx->site, &IID_IServiceProvider, (
void**)&
sp);
309 hres = IServiceProvider_QueryService(
sp, &SID_SInternetHostSecurityManager, &IID_IInternetHostSecurityManager,
311 IServiceProvider_Release(
sp);
315 return ctx->secmgr = secmgr;
477 hres = IObjectWithSite_SetSite(obj_site, ax_site);
478 IUnknown_Release(ax_site);
482 IObjectWithSite_Release(obj_site);
490 IClassFactoryEx *cfex;
505 if(
ctx->safeopt & INTERFACE_USES_SECURITY_MANAGER) {
511 hres = IInternetHostSecurityManager_ProcessUrlAction(secmgr, URLACTION_ACTIVEX_RUN,
521 hres = IClassFactory_QueryInterface(
cf, &IID_IClassFactoryEx, (
void**)&cfex);
523 FIXME(
"Use IClassFactoryEx\n");
524 IClassFactoryEx_Release(cfex);
536 &bpolicy, &policy_size, (
BYTE*)&
cs,
sizeof(
cs), 0);
538 policy = policy_size >=
sizeof(
DWORD) ? *(
DWORD*)bpolicy : URLPOLICY_DISALLOW;
543 IUnknown_Release(
obj);
550 IUnknown_Release(
obj);
568 hres = IActiveScriptSite_QueryInterface(
ctx->site, &IID_IActiveScriptSiteUIControl, (
void**)&ui_control);
571 IActiveScriptSiteUIControl_Release(ui_control);
586 hres = IActiveScriptSite_QueryInterface(
ctx->site, &IID_IActiveScriptSiteWindow, (
void**)&acts_window);
588 FIXME(
"No IActiveScriptSiteWindow\n");
592 if(
ctx->safeopt & INTERFACE_USES_SECURITY_MANAGER) {
593 if(orig_title && *orig_title) {
613 hres = IActiveScriptSiteWindow_GetWindow(acts_window, &
hwnd);
615 hres = IActiveScriptSiteWindow_EnableModeless(acts_window,
FALSE);
618 hres = IActiveScriptSiteWindow_EnableModeless(acts_window,
TRUE);
623 IActiveScriptSiteWindow_Release(acts_window);
807 return n < 10 ?
'0'+
n :
'A'+
n-10;
881 *
ptr-- =
'0' + (
n & 0x7);
1100 assert(args_cnt == 1 || args_cnt == 2);
1140 for(
i = 0;
i < 3;
i++) {
1281 assert(args_cnt == 2 || args_cnt == 3);
1341 assert(args_cnt == 2 || args_cnt == 3);
1343 if (args_cnt == 3) {
1349 FIXME(
"unknown compare mode = %d\n",
mode);
1494 WCHAR *begin_ptr, *end_ptr;
1508 for(begin_ptr =
str; *begin_ptr &&
iswspace(*begin_ptr); begin_ptr++);
1559 VARIANT *startv, *str1v, *str2v;
1566 assert(2 <= args_cnt && args_cnt <= 4);
1693 if((
c!=(
short)
c &&
c!=(
unsigned short)
c) ||
1694 (
unsigned short)
c>=(cpi.
MaxCharSize>1 ? 0x10000 : 0x100)) {
1695 WARN(
"invalid arg %d\n",
c);
1704 WARN(
"invalid arg %d, cp %d\n",
c,
cp);
1809 val =
v == 0 ? 0 : (
v > 0 ? 1 : -1);
1971 assert(1 <= args_cnt && args_cnt <= 5);
1984 FIXME(
"unsupported arg_cnt %d\n", args_cnt);
2004 FIXME(
"non-bstr arg\n");
2020 IUnknown_Release(
obj);
2036 FIXME(
"unsupported args\n");
2040 if(
This->ctx->safeopt & (INTERFACE_USES_SECURITY_MANAGER|INTERFACESAFE_FOR_UNTRUSTED_DATA)) {
2041 WARN(
"blocked in current safety mode\n");
2052 IMoniker_Release(mon);
2056 IBindCtx_Release(bind_ctx);
2062 IUnknown_Release(obj_unk);
2072 IDispatch_Release(disp);
2075 FIXME(
"object does not support IDispatch\n");
2101 static const WCHAR ByteW[] = {
'B',
'y',
't',
'e', 0};
2102 static const WCHAR IntegerW[] = {
'I',
'n',
't',
'e',
'g',
'e',
'r', 0};
2103 static const WCHAR LongW[] = {
'L',
'o',
'n',
'g', 0};
2104 static const WCHAR SingleW[] = {
'S',
'i',
'n',
'g',
'l',
'e', 0};
2105 static const WCHAR DoubleW[] = {
'D',
'o',
'u',
'b',
'l',
'e', 0};
2106 static const WCHAR CurrencyW[] = {
'C',
'u',
'r',
'r',
'e',
'n',
'c',
'y', 0};
2107 static const WCHAR DecimalW[] = {
'D',
'e',
'c',
'i',
'm',
'a',
'l', 0};
2108 static const WCHAR DateW[] = {
'D',
'a',
't',
'e', 0};
2109 static const WCHAR StringW[] = {
'S',
't',
'r',
'i',
'n',
'g', 0};
2110 static const WCHAR BooleanW[] = {
'B',
'o',
'o',
'l',
'e',
'a',
'n', 0};
2111 static const WCHAR EmptyW[] = {
'E',
'm',
'p',
't',
'y', 0};
2112 static const WCHAR NullW[] = {
'N',
'u',
'l',
'l', 0};
2157 TRACE(
"arg_cnt=%u\n", args_cnt);
2171 for(
i=0;
i<args_cnt;
i++) {
2223 WCHAR *ptr1, *ptr2, ch;
2235 while(ptr1 < ptr2) {
2253 FIXME(
"Unsupported args\n");
2257 assert(2 <= args_cnt && args_cnt <= 4);
2372 int weekday, first_day = 1, abbrev = 0;
2378 assert(1 <= args_cnt && args_cnt <= 3);
2405 int month, abbrev = 0;
2411 assert(args_cnt == 1 || args_cnt == 2);
2499 FIXME(
"Setter not supported\n");
2744 FIXME(
"setter not implemented\n");
2764 FIXME(
"setter not implemented\n");
2789 int code, helpcontext = 0;
2818 if(!
ctx->ei.bstrSource)
2824 if(!
ctx->ei.bstrDescription)
2831 ctx->ei.dwHelpContext = helpcontext;
2834 hres = SCRIPT_E_RECORDED;
2859 IDispatch_Release(&
ctx->err_obj->IDispatch_iface);
2863 if(
ctx->global_obj) {
2865 IDispatch_Release(&
ctx->global_obj->IDispatch_iface);
_STLP_DECLSPEC complex< float > _STLP_CALL cos(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL tan(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL sqrt(const complex< float > &)
valarray< _Tp > atan(const valarray< _Tp > &__x)
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
enum tagSCRIPTUICHANDLING SCRIPTUICHANDLING
@ SCRIPTUICHANDLING_ALLOW
@ SCRIPTUICHANDLING_NOUIDEFAULT
static struct sockaddr_in sa
WINBASEAPI _Check_return_ _Out_ AppPolicyProcessTerminationMethod * policy
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static const TCHAR helpfile[]
const GUID IID_IClassFactory
#define MultiByteToWideChar
IUnknown * create_ax_site(script_ctx_t *ctx)
VOID WINAPI GetLocalTime(OUT LPSYSTEMTIME lpSystemTime)
BOOL WINAPI GetCPInfo(UINT codepage, LPCPINFO cpinfo)
BOOL WINAPI IsDBCSLeadByteEx(UINT codepage, BYTE testchar)
static REFPROPVARIANT PROPVAR_CHANGE_FLAGS VARTYPE vt
HRESULT WINAPI DECLSPEC_HOTPATCH CLSIDFromProgID(LPCOLESTR progid, LPCLSID clsid)
HRESULT WINAPI DECLSPEC_HOTPATCH CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, REFIID iid, LPVOID *ppv)
HRESULT WINAPI MkParseDisplayName(LPBC pbc, LPCOLESTR szDisplayName, LPDWORD pchEaten, LPMONIKER *ppmk)
HRESULT WINAPI SafeArrayGetUBound(SAFEARRAY *psa, UINT nDim, LONG *plUbound)
HRESULT WINAPI SafeArrayAccessData(SAFEARRAY *psa, void **ppvData)
HRESULT WINAPI SafeArrayUnaccessData(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayDestroy(SAFEARRAY *psa)
SAFEARRAY *WINAPI SafeArrayCreate(VARTYPE vt, UINT cDims, SAFEARRAYBOUND *rgsabound)
#define VBSE_ILLEGAL_FUNC_CALL
#define VBSE_FUNC_ARITY_MISMATCH
#define VBSE_ILLEGAL_NULL_USE
#define VBS_RUNTIME_ERROR
static const WCHAR month[12][4]
void clear_ei(script_ctx_t *ctx)
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLdouble GLdouble GLdouble r
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID WINAPI CoTaskMemFree(LPVOID ptr)
_CONST_RETURN wchar_t *__cdecl wcsstr(_In_z_ const wchar_t *_Str, _In_z_ const wchar_t *_SubStr)
static const WCHAR StringW[]
HRESULT init_global(script_ctx_t *ctx)
static const WCHAR BooleanW[]
static const WCHAR DateW[]
#define memcpy(s1, s2, n)
const IID IID_IObjectWithSite
static const char * debugstr_variant(const VARIANT *var)
static unsigned(__cdecl *hash_bstr)(bstr_t s)
static VARIANTARG static DISPID
static SCRIPTUICHANDLING uic_handling
unsigned __int3264 UINT_PTR
#define DEFAULT_UNREACHABLE
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC *ppbc)
BSTR WINAPI SysAllocString(LPCOLESTR str)
UINT WINAPI SysStringLen(BSTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
#define VAR_DATEVALUEONLY
#define DISPATCH_PROPERTYPUT
#define DISPATCH_PROPERTYGET
#define VAR_TIMEVALUEONLY
#define VARIANT_LOCALBOOL
#define IsEqualGUID(rguid1, rguid2)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
const builtin_prop_t * members
IDispatch IDispatch_iface
HRESULT(* proc)(BuiltinDisp *, VARIANT *, unsigned, VARIANT *)
#define CONTAINING_RECORD(address, type, field)
INT WINAPI VariantTimeToSystemTime(double dateIn, LPSYSTEMTIME lpSt)
HRESULT WINAPI VarDateFromUdateEx(UDATE *pUdateIn, LCID lcid, ULONG dwFlags, DATE *pDateOut)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantChangeType(VARIANTARG *pvargDest, VARIANTARG *pvargSrc, USHORT wFlags, VARTYPE vt)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
HRESULT WINAPI VarFix(LPVARIANT pVarIn, LPVARIANT pVarOut)
HRESULT WINAPI VarAbs(LPVARIANT pVarIn, LPVARIANT pVarOut)
INT WINAPI SystemTimeToVariantTime(LPSYSTEMTIME lpSt, double *pDateOut)
HRESULT WINAPI VarInt(LPVARIANT pVarIn, LPVARIANT pVarOut)
HRESULT WINAPI VariantCopyInd(VARIANT *pvargDest, VARIANTARG *pvargSrc)
static HRESULT Global_InStrRev(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_CStr(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_LeftB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT set_object_site(script_ctx_t *ctx, IUnknown *obj)
static HRESULT WINAPI Builtin_QueryInterface(IDispatch *iface, REFIID riid, void **ppv)
static HRESULT Global_IsNull(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_IsNumeric(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Err_Number(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static IInternetHostSecurityManager * get_sec_mgr(script_ctx_t *ctx)
static HRESULT Global_Left(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_CreateObject(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_LenB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static WCHAR hex_char(unsigned n)
static HRESULT Global_UCase(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Err_HelpFile(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT return_short(VARIANT *res, short val)
static HRESULT Global_CSng(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Err_HelpContext(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Randomize(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Round(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Exp(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_InputBox(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Cos(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT show_msgbox(script_ctx_t *ctx, BSTR prompt, unsigned type, BSTR orig_title, VARIANT *res)
#define VB_E_CANNOT_CREATE_OBJ
static HRESULT Global_String(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const string_constant_t vbTab
static HRESULT Global_CDate(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT return_date(VARIANT *res, double date)
static HRESULT Global_Year(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Minute(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Unescape(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_UBound(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_InStrB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT return_int(VARIANT *res, int val)
static HRESULT Global_FormatPercent(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const string_constant_t vbNullString
static HRESULT Global_Err(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Weekday(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_TypeName(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_ScriptEngineBuildVersion(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
HRESULT get_builtin_id(BuiltinDisp *disp, const WCHAR *name, DISPID *id)
static HRESULT err_string_prop(BSTR *prop, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_DatePart(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT WINAPI Builtin_Invoke(IDispatch *iface, DISPID id, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *dp, VARIANT *res, EXCEPINFO *ei, UINT *err)
static HRESULT WINAPI Builtin_GetTypeInfoCount(IDispatch *iface, UINT *pctinfo)
static HRESULT Global_Trim(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Err_Description(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_LoadPicture(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_IsArray(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_MidB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_GetRef(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Replace(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT return_null(VARIANT *res)
static HRESULT Global_CByte(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT to_double(VARIANT *v, double *ret)
static HRESULT Global_Log(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Err_Raise(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static const IDispatchVtbl BuiltinDispVtbl
static HRESULT Global_Month(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Tan(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_LCase(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const string_constant_t vbNullChar
static HRESULT Global_Chr(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT create_builtin_dispatch(script_ctx_t *ctx, const builtin_prop_t *members, size_t member_cnt, BuiltinDisp **ret)
static HRESULT Global_DateValue(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Atn(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_ScriptEngine(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const string_constant_t vbFormFeed
static HRESULT Global_WeekdayName(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static ULONG WINAPI Builtin_Release(IDispatch *iface)
static HRESULT Global_MsgBox(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Timer(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const WCHAR vbscriptW[]
static HRESULT Global_Sqr(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_CCur(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const string_constant_t vbVerticalTab
static HRESULT Global_Fix(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT WINAPI Builtin_GetTypeInfo(IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT Global_InStr(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_FormatNumber(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Right(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_RTrim(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_CLng(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
void detach_global_objects(script_ctx_t *ctx)
static const string_constant_t vbNewLine
static HRESULT Global_AscB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Eval(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT to_system_time(VARIANT *v, SYSTEMTIME *st)
static HRESULT Global_Hex(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_FormatCurrency(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_ChrW(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Space(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_CDbl(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Date(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const builtin_prop_t global_props[]
const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY
static HRESULT Global_RightB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_VarType(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_IsEmpty(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Hour(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Day(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT return_bool(VARIANT *res, BOOL val)
HRESULT to_int(VARIANT *v, int *ret)
static const WCHAR emptyW[]
static HRESULT Global_DateDiff(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_FormatDateTime(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_ScriptEngineMajorVersion(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static IUnknown * create_object(script_ctx_t *ctx, const WCHAR *progid)
static HRESULT return_bstr(VARIANT *res, BSTR str)
static HRESULT Global_DateSerial(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Now(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Array(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Time(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Err_Source(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_TimeValue(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_StrComp(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_Execute(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_ChrB(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static HRESULT Global_MonthName(BuiltinDisp *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
static HRESULT Global_IsObject(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
static const builtin_prop_t err_props[]
De