26#define NONAMELESSUNION
42#define ALIGNED_LENGTH(_Len, _Align) (((_Len)+(_Align))&~(_Align))
43#define ALIGNED_POINTER(_Ptr, _Align) ((LPVOID)ALIGNED_LENGTH((ULONG_PTR)(_Ptr), _Align))
44#define ALIGN_LENGTH(_Len, _Align) _Len = ALIGNED_LENGTH(_Len, _Align)
45#define ALIGN_POINTER(_Ptr, _Align) _Ptr = ALIGNED_POINTER(_Ptr, _Align)
55 TRACE(
"MAKELONG(NDR_LOCAL_REPRESENTATION, ");
60 case MSHCTX_LOCAL:
TRACE(
"MSHCTX_LOCAL)");
break;
61 case MSHCTX_NOSHAREDMEM:
TRACE(
"MSHCTX_NOSHAREDMEM)");
break;
62 case MSHCTX_DIFFERENTMACHINE:
TRACE(
"MSHCTX_DIFFERENTMACHINE)");
break;
63 case MSHCTX_INPROC:
TRACE(
"MSHCTX_INPROC)");
break;
70#define CLS_FUNCDESC 'f'
71#define CLS_LIBATTR 'l'
72#define CLS_TYPEATTR 't'
73#define CLS_VARDESC 'v'
86 if (!pstg->pInterface)
92 ITypeLib_ReleaseTLibAttr((
ITypeLib*)pstg->pInterface, *(TLIBATTR**)pstg->pStorage);
95 ITypeInfo_ReleaseTypeAttr((
ITypeInfo*)pstg->pInterface, *(TYPEATTR**)pstg->pStorage);
98 ITypeInfo_ReleaseFuncDesc((
ITypeInfo*)pstg->pInterface, *(FUNCDESC**)pstg->pStorage);
101 ITypeInfo_ReleaseVarDesc((
ITypeInfo*)pstg->pInterface, *(VARDESC**)pstg->pStorage);
105 ERR(
"Unknown type %x\n", pstg->flags);
109 IUnknown_Release(pstg->pInterface);
110 pstg->pInterface =
NULL;
138 TRACE(
"(%x,%d,%p) => %p\n", *pFlags,
Start, pstr, *pstr);
151 TRACE(
"(%x,%p,%p) => %p\n", *pFlags,
Buffer, pstr, *pstr);
163 header->byte_len = 0xffffffff;
171 TRACE(
"(%x,%p,%p) => %p\n", *pFlags,
Buffer, pstr, *pstr);
178 if (
header->byte_len == 0xffffffff)
191 TRACE(
"(%x,%p) => %p\n", *pFlags, pstr, *pstr);
222 return sizeof(
SHORT);
234 return sizeof(
FLOAT);
240 return sizeof(
SCODE);
248 return sizeof(
ULONG);
256 FIXME(
"unhandled VT %d\n",
vt);
265 if(
size == 0)
return 0;
280 ERR(
"interface variant buffer size calculation failed\n");
285 TRACE(
"wire-size extra of interface variant is %d\n",
size);
299 switch (
V_VT(pvar)) {
315 FIXME(
"wire-size record\n");
319 FIXME(
"wire-size safearray: shouldn't be marshaling this\n");
330 TRACE(
"pFlags=%d, Buffer=%p, pUnk=%p\n", *pFlags,
Buffer, punk);
353 TRACE(
"pFlags=%d, Buffer=%p, ppUnk=%p\n", *pFlags,
Buffer, ppunk);
410 header->switch_is &= ~VT_TYPEMASK;
428 *(
DWORD*)
Pos =
'U' |
's' << 8 |
'e' << 16 |
'r' << 24;
474 FIXME(
"handle BRECORD by val\n");
477 FIXME(
"handle BRECORD by ref\n");
515 mem_size =
sizeof(
void *);
518 mem_size = type_size;
605 FIXME(
"handle BRECORD by val\n");
608 FIXME(
"handle BRECORD by ref\n");
620 TRACE(
"(%x,%p)\n", *pFlags, pvar);
646 FIXME(
"handle BRECORD by ref\n");
666 ULONG ulNumCells = 1;
687 if(
psa->fFeatures & FADF_VARIANT)
return SF_VARIANT;
689 switch(
psa->cbElements)
700 if (
psa->fFeatures & FADF_HAVEIID)
706 case VT_UI1:
return SF_I1;
709 case VT_UI2:
return SF_I2;
714 case VT_R4:
return SF_I4;
719 case VT_UI8:
return SF_I8;
730 default:
return SF_ERROR;
736 if (sftype == SF_BSTR)
737 return sizeof(
DWORD);
738 else if (sftype == SF_VARIANT)
746 if (sftype == SF_BSTR)
748 else if (sftype == SF_VARIANT)
751 return wiresa->cbElements;
777 if (sftype == SF_HAVEIID)
780 size +=
sizeof(
psa->rgsabound[0]) *
psa->cDims;
790 for (lpBstr =
psa->pvData; ulCellCount; ulCellCount--, lpBstr++)
798 FIXME(
"size interfaces\n");
804 for (lpVariant =
psa->pvData; ulCellCount; ulCellCount--, lpVariant++)
819 FIXME(
"size record info %p\n", pRecInfo);
821 IRecordInfo_Release(pRecInfo);
831 size += ulCellCount *
psa->cbElements;
885 if (sftype == SF_HAVEIID)
894 for (
i = 0;
i <
psa->cDims;
i++)
896 memcpy(bound++, &
psa->rgsabound[
psa->cDims-
i-1],
sizeof(
psa->rgsabound[0]));
911 for (lpBstr =
psa->pvData; ulCellCount; ulCellCount--, lpBstr++)
919 FIXME(
"marshal interfaces\n");
925 for (lpVariant =
psa->pvData; ulCellCount; ulCellCount--, lpVariant++)
940 FIXME(
"write record info %p\n", pRecInfo);
942 IRecordInfo_Release(pRecInfo);
966#define FADF_AUTOSETFLAGS (FADF_HAVEIID | FADF_RECORD | FADF_HAVEVARTYPE | \
967 FADF_BSTR | FADF_UNKNOWN | FADF_DISPATCH | \
968 FADF_VARIANT | FADF_CREATEVECTOR)
973 wireSAFEARRAY wiresa;
993 TRACE(
"NULL safe array unmarshaled\n");
1001 wiresa = (wireSAFEARRAY)
Buffer;
1004 if (cDims != wiresa->cDims)
1018 if (sftype == SF_HAVEIID)
1025 Buffer +=
sizeof(wiresab[0]) * wiresa->cDims;
1027 if(*ppsa && (*ppsa)->
cDims==wiresa->cDims)
1029 if(((*ppsa)->fFeatures & ~
FADF_AUTOSETFLAGS) != (wiresa->fFeatures & ~FADF_AUTOSETFLAGS))
1034 if((*ppsa)->fFeatures & (FADF_AUTO|FADF_STATIC|FADF_EMBEDDED|FADF_FIXEDSIZE))
1041 memcpy((*ppsa)->rgsabound, wiresab,
sizeof(*wiresab)*wiresa->cDims);
1043 if((*ppsa)->fFeatures & FADF_HAVEVARTYPE)
1069 if(!(*ppsa)->pvData)
1088 for (lpBstr = (*ppsa)->pvData; cell_count; cell_count--, lpBstr++)
1096 FIXME(
"marshal interfaces\n");
1102 for (lpVariant = (*ppsa)->pvData; cell_count; cell_count--, lpVariant++)
1109 FIXME(
"set record info\n");
1121 memcpy((*ppsa)->pvData,
Buffer, cell_count * (*ppsa)->cbElements);
1122 Buffer += cell_count * (*ppsa)->cbElements;
1129 TRACE(
"safe array unmarshaled: %p\n", *ppsa);
1178 DISPPARAMS* pDispParams,
1180 EXCEPINFO* pExcepInfo,
1189 EXCEPINFO ExcepInfo;
1191 TRACE(
"(%p)->(%d,%s,%x,%x,%p,%p,%p,%p)\n",
This,
1193 lcid,
wFlags, pDispParams, pVarResult,
1194 pExcepInfo, puArgErr);
1197 if (!pVarResult) pVarResult = &VarResult;
1198 if (!puArgErr) puArgErr = &uArgErr;
1199 if (!pExcepInfo) pExcepInfo = &ExcepInfo;
1202 for (cVarRef=0,
u=0;
u<pDispParams->cArgs;
u++) {
1212 for (cVarRef=0,
u=0;
u<pDispParams->cArgs;
u++) {
1215 rgVarRefIdx[cVarRef] =
u;
1226 rgVarRefIdx = puArgErr;
1227 rgVarRef = pVarResult;
1229 TRACE(
"passed by ref: %d args\n", cVarRef);
1230 hr = IDispatch_RemoteInvoke_Proxy(
This,
1243 for (
u=0;
u<cVarRef;
u++) {
1244 unsigned i = rgVarRefIdx[
u];
1253 if(pExcepInfo == &ExcepInfo)
1268 DISPPARAMS* pDispParams,
1270 EXCEPINFO* pExcepInfo,
1283 memset(pExcepInfo, 0,
sizeof(*pExcepInfo));
1288 rgvarg = pDispParams->rgvarg;
1294 for (
u = 0;
u < pDispParams->cArgs;
u++)
1297 for (
u = 0;
u < pDispParams->cArgs;
u++) {
1305 for (
u=0;
u<cVarRef;
u++) {
1306 unsigned i = rgVarRefIdx[
u];
1310 pDispParams->rgvarg =
arg;
1312 hr = IDispatch_Invoke(
This,
1323 for (
u=0;
u<cVarRef;
u++) {
1324 unsigned i = rgVarRefIdx[
u];
1330 for (
u=0;
u<pDispParams->cArgs;
u++)
1333 pDispParams->rgvarg = rgvarg;
1345 ULONG* pCeltFetched)
1349 pCeltFetched = &fetched;
1350 return IEnumVARIANT_RemoteNext_Proxy(
This,
1360 ULONG* pCeltFetched)
1364 hr = IEnumVARIANT_Next(
This,
1368 if (
hr ==
S_OK) *pCeltFetched = celt;
1377 switch(adesc->tdescElem.vt)
1410 if(edesc->u.paramdesc.wParamFlags & PARAMFLAG_FHASDEFAULT)
1425 CLEANLOCALSTORAGE stg = { 0 };
1431 TRACE(
"(%p, %s, %#x, %#x, %p, %p, %p)\n",
This,
debugstr_w(
name), lHashVal,
flags, ti,
1434 *desckind = DESCKIND_NONE;
1435 memset(bindptr, 0,
sizeof(*bindptr));
1437 hr = ITypeComp_RemoteBind_Proxy(
This,
name, lHashVal,
flags, ti, desckind,
1438 &funcdesc, &vardesc, &typecomp, &stg);
1444 case DESCKIND_FUNCDESC:
1445 bindptr->lpfuncdesc = funcdesc;
1447 case DESCKIND_VARDESC:
1448 case DESCKIND_IMPLICITAPPOBJ:
1449 bindptr->lpvardesc = vardesc;
1451 case DESCKIND_TYPECOMP:
1452 bindptr->lptcomp = typecomp;
1469 FUNCDESC **funcdesc,
1472 CLEANLOCALSTORAGE *stg)
1477 TRACE(
"(%p, %s, %#x, %#x, %p, %p, %p, %p, %p, %p)\n",
This,
debugstr_w(
name),
1478 lHashVal,
flags, ti, desckind, funcdesc, vardesc, typecomp, stg);
1480 memset(stg, 0,
sizeof(*stg));
1481 memset(&bindptr, 0,
sizeof(bindptr));
1488 hr = ITypeComp_Bind(
This,
name, lHashVal,
flags, ti, desckind, &bindptr);
1494 case DESCKIND_FUNCDESC:
1495 *funcdesc = bindptr.lpfuncdesc;
1497 stg->pStorage = funcdesc;
1500 case DESCKIND_VARDESC:
1501 case DESCKIND_IMPLICITAPPOBJ:
1502 *vardesc = bindptr.lpvardesc;
1504 stg->pStorage = vardesc;
1507 case DESCKIND_TYPECOMP:
1508 *typecomp = bindptr.lptcomp;
1514 if (stg->pInterface)
1515 IUnknown_AddRef(stg->pInterface);
1531 hr = ITypeComp_RemoteBindType_Proxy(
This,
name, lHashVal, ti);
1533 ITypeInfo_GetTypeComp(*ti, typecomp);
1551 hr = ITypeComp_BindType(
This,
name, lHashVal, ti, &typecomp);
1554 ITypeComp_Release(typecomp);
1563 TYPEATTR** ppTypeAttr)
1566 CLEANLOCALSTORAGE stg;
1570 stg.pStorage =
NULL;
1571 stg.pInterface =
NULL;
1573 return ITypeInfo_RemoteGetTypeAttr_Proxy(
This, ppTypeAttr, &stg);
1578 LPTYPEATTR* ppTypeAttr,
1579 CLEANLOCALSTORAGE* pDummy)
1584 hr = ITypeInfo_GetTypeAttr(
This, ppTypeAttr);
1589 ITypeInfo_AddRef(
This);
1591 pDummy->pStorage = ppTypeAttr;
1598 FUNCDESC** ppFuncDesc)
1600 CLEANLOCALSTORAGE stg;
1604 stg.pStorage =
NULL;
1605 stg.pInterface =
NULL;
1607 return ITypeInfo_RemoteGetFuncDesc_Proxy(
This,
index, ppFuncDesc, &stg);
1613 LPFUNCDESC* ppFuncDesc,
1614 CLEANLOCALSTORAGE* pDummy)
1619 hr = ITypeInfo_GetFuncDesc(
This,
index, ppFuncDesc);
1624 ITypeInfo_AddRef(
This);
1626 pDummy->pStorage = ppFuncDesc;
1633 VARDESC** ppVarDesc)
1635 CLEANLOCALSTORAGE stg;
1639 stg.pStorage =
NULL;
1640 stg.pInterface =
NULL;
1642 return ITypeInfo_RemoteGetVarDesc_Proxy(
This,
index, ppVarDesc, &stg);
1648 LPVARDESC* ppVarDesc,
1649 CLEANLOCALSTORAGE* pDummy)
1654 hr = ITypeInfo_GetVarDesc(
This,
index, ppVarDesc);
1659 ITypeInfo_AddRef(
This);
1661 pDummy->pStorage = ppVarDesc;
1672 TRACE(
"(%p, %08x, %p, %d, %p)\n",
This, memid, rgBstrNames, cMaxNames, pcNames);
1674 return ITypeInfo_RemoteGetNames_Proxy(
This, memid, rgBstrNames, cMaxNames, pcNames);
1684 TRACE(
"(%p, %08x, %p, %d, %p)\n",
This, memid, rgBstrNames, cMaxNames, pcNames);
1686 return ITypeInfo_GetNames(
This, memid, rgBstrNames, cMaxNames, pcNames);
1695 FIXME(
"not implemented\n");
1702 FIXME(
"not implemented\n");
1711 DISPPARAMS* pDispParams,
1713 EXCEPINFO* pExcepInfo,
1716 FIXME(
"not implemented\n");
1723 FIXME(
"not implemented\n");
1732 BSTR dummy_name, dummy_doc_string, dummy_help_file;
1734 TRACE(
"(%p, %08x, %p, %p, %p, %p)\n",
This, memid,
name, doc_string, help_context, help_file);
1739 if(!doc_string) doc_string = &dummy_doc_string;
1742 if(!help_context) help_context = &dummy_help_context;
1745 if(!help_file) help_file = &dummy_help_file;
1748 hr = ITypeInfo_RemoteGetDocumentation_Proxy(
This, memid,
flags,
name, doc_string, help_context, help_file);
1759 TRACE(
"(%p, %08x, %08x, %p, %p, %p, %p)\n",
This, memid,
flags,
name, doc_string, help_context, help_file);
1761 *
name = *doc_string = *help_file =
NULL;
1769 return ITypeInfo_GetDocumentation(
This, memid,
name, doc_string, help_context, help_file);
1773 INVOKEKIND invkind,
BSTR *dll_name,
1777 BSTR dummy_dll_name, dummy_name;
1780 TRACE(
"(%p, %08x, %x, %p, %p, %p)\n",
This, memid, invkind, dll_name,
name, ordinal);
1782 if(!dll_name) dll_name = &dummy_dll_name;
1788 if(!ordinal) ordinal = &dummy_ordinal;
1791 hr = ITypeInfo_RemoteGetDllEntry_Proxy(
This, memid, invkind,
flags, dll_name,
name, ordinal);
1803 TRACE(
"(%p, %08x, %x, %p, %p, %p)\n",
This, memid, invkind, dll_name,
name, ordinal);
1812 return ITypeInfo_GetDllEntry(
This, memid, invkind, dll_name,
name, ordinal);
1821 FIXME(
"not implemented\n");
1828 FIXME(
"not implemented\n");
1838 FIXME(
"not implemented\n");
1847 FIXME(
"not implemented\n");
1862 hr = ITypeInfo_RemoteGetContainingTypeLib_Proxy(
This, &pTL, &
index);
1871 ITypeLib_Release(pTL);
1882 return ITypeInfo_GetContainingTypeLib(
This, ppTLib,
pIndex);
1887 TYPEATTR* pTypeAttr)
1897 TRACE(
"nothing to do\n");
1903 FUNCDESC* pFuncDesc)
1915 if(pFuncDesc->cScodes != 0 && pFuncDesc->cScodes != -1)
1924 TRACE(
"nothing to do\n");
1936 if(pVarDesc->varkind == VAR_CONST)
1946 TRACE(
"nothing to do\n");
1958 BSTR dummy_help_string, dummy_help_dll;
1960 TRACE(
"(%p, %08x, %08x, %p, %p, %p)\n",
This, memid, lcid, help_string, help_context, help_dll);
1962 if(!help_string) help_string = &dummy_help_string;
1965 if(!help_context) help_context = &dummy_help_context;
1968 if(!help_dll) help_dll = &dummy_help_dll;
1971 hr = ITypeInfo2_RemoteGetDocumentation2_Proxy(
This, memid, lcid,
flags, help_string, help_context, help_dll);
1983 TRACE(
"(%p, %08x, %08x, %08x, %p, %p, %p)\n",
This, memid, lcid,
flags, help_string, help_context, help_dll);
1985 *help_string = *help_dll =
NULL;
1992 return ITypeInfo2_GetDocumentation2(
This, memid, lcid, help_string, help_context, help_dll);
2003 ITypeLib_RemoteGetTypeInfoCount_Proxy(
This, &
count);
2013 *pcTInfo = ITypeLib_GetTypeInfoCount(
This);
2019 TLIBATTR** ppTLibAttr)
2021 CLEANLOCALSTORAGE stg;
2025 stg.pStorage =
NULL;
2026 stg.pInterface =
NULL;
2028 return ITypeLib_RemoteGetLibAttr_Proxy(
This, ppTLibAttr, &stg);
2033 LPTLIBATTR* ppTLibAttr,
2034 CLEANLOCALSTORAGE* pDummy)
2039 hr = ITypeLib_GetLibAttr(
This, ppTLibAttr);
2044 ITypeLib_AddRef(
This);
2046 pDummy->pStorage = ppTLibAttr;
2055 BSTR dummy_name, dummy_doc_string, dummy_help_file;
2057 TRACE(
"(%p, %d, %p, %p, %p, %p)\n",
This,
index,
name, doc_string, help_context, help_file);
2062 if(!doc_string) doc_string = &dummy_doc_string;
2065 if(!help_context) help_context = &dummy_help_context;
2068 if(!help_file) help_file = &dummy_help_file;
2071 hr = ITypeLib_RemoteGetDocumentation_Proxy(
This,
index,
flags,
name, doc_string, help_context, help_file);
2082 TRACE(
"(%p, %d, %08x, %p, %p, %p, %p)\n",
This,
index,
flags,
name, doc_string, help_context, help_file);
2084 *
name = *doc_string = *help_file =
NULL;
2092 return ITypeLib_GetDocumentation(
This,
index,
name, doc_string, help_context, help_file);
2101 FIXME(
"not implemented\n");
2112 FIXME(
"not implemented\n");
2124 FIXME(
"not implemented\n");
2137 FIXME(
"not implemented\n");
2143 TLIBATTR* pTLibAttr)
2152 TRACE(
"nothing to do\n");
2161 ULONG* pcUniqueNames,
2162 ULONG* pcchUniqueNames)
2164 FIXME(
"not implemented\n");
2170 ULONG* pcUniqueNames,
2171 ULONG* pcchUniqueNames)
2173 FIXME(
"not implemented\n");
2182 BSTR dummy_help_string, dummy_help_dll;
2184 TRACE(
"(%p, %d, %08x, %p, %p, %p)\n",
This,
index, lcid, help_string, help_context, help_dll);
2186 if(!help_string) help_string = &dummy_help_string;
2189 if(!help_context) help_context = &dummy_help_context;
2192 if(!help_dll) help_dll = &dummy_help_dll;
2195 hr = ITypeLib2_RemoteGetDocumentation2_Proxy(
This,
index, lcid,
flags, help_string, help_context, help_dll);
2206 TRACE(
"(%p, %d, %08x, %08x, %p, %p, %p)\n",
This,
index, lcid,
flags, help_string, help_context, help_dll);
2208 *help_string = *help_dll =
NULL;
2215 return ITypeLib2_GetDocumentation2(
This,
index, lcid, help_string, help_context, help_dll);
2220 LPCOLESTR pszPropName,
2232 FIXME(
"Variant type %x is byref, array or vector. Not implemented.\n",
V_VT(pVar));
2245 FIXME(
"Safearray support not yet implemented.\n");
2248 FIXME(
"Unknown V_VT %d - support not yet implemented.\n",
V_VT(pVar));
2252 return IPropertyBag_RemoteRead_Proxy(
This, pszPropName, pVar, pErrorLog,
2258 LPCOLESTR pszPropName,
2264 static const WCHAR emptyWstr[] = {0};
2268 pErrorLog, varType, pUnkObj);
2272 FIXME(
"Variant type %x is byref, array or vector. Not implemented.\n",
V_VT(pVar));
2276 V_VT(pVar) = varType;
2283 IUnknown_Release(pUnkObj);
2293 FIXME(
"Safearray support not yet implemented.\n");
2298 hr = IPropertyBag_Read(
This, pszPropName, pVar, pErrorLog);
2321 ERR(
"aggregation is not allowed on remote objects\n");
2325 return IClassFactory2_RemoteCreateInstanceLic_Proxy(
This,
riid, bstrKey, (
IUnknown**)ppvObj);
2335 return IClassFactory2_CreateInstanceLic(
This,
NULL,
NULL,
riid, bstrKey, (
void**)ppvObj);
2346 TRACE(
"(%u, %p %p)\n", cConnections, rgcd, pcFetched);
2349 pcFetched = &fetched;
2351 return IEnumConnections_RemoteNext_Proxy(
This, cConnections, rgcd, pcFetched);
2362 TRACE(
"(%u, %p, %p)\n", cConnections, rgcd, pcFetched);
2365 hr = IEnumConnections_Next(
This, cConnections, rgcd, pcFetched);
2367 *pcFetched = cConnections;
2380 TRACE(
"(%u, %p %p)\n", cConnections, ppCP, pcFetched);
2383 pcFetched = &fetched;
2385 return IEnumConnectionPoints_RemoteNext_Proxy(
This, cConnections, ppCP, pcFetched);
2396 TRACE(
"(%u, %p, %p)\n", cConnections, ppCP, pcFetched);
2399 hr = IEnumConnectionPoints_Next(
This, cConnections, ppCP, pcFetched);
2401 *pcFetched = cConnections;
2411 TRACE(
"(%p, %u)\n", pMem, cbSize);
2416 return IPersistMemory_RemoteLoad_Proxy(
This, pMem, cbSize);
2424 TRACE(
"(%p, %u)\n", pMem, cbSize);
2425 return IPersistMemory_Load(
This, pMem, cbSize);
2434 TRACE(
"(%p, %d, %u)\n", pMem, fClearDirty, cbSize);
2439 return IPersistMemory_RemoteSave_Proxy(
This, pMem, fClearDirty, cbSize);
2448 TRACE(
"(%p, %d, %u)\n", pMem, fClearDirty, cbSize);
2449 return IPersistMemory_Save(
This, pMem, fClearDirty, cbSize);
2456 TRACE(
"(%p, 0x%08x)\n",
This, dwViewStatus);
2457 IAdviseSinkEx_RemoteOnViewStatusChange_Proxy(
This, dwViewStatus);
2464 TRACE(
"(%p, 0x%08x)\n",
This, dwViewStatus);
2465 IAdviseSinkEx_OnViewStatusChange(
This, dwViewStatus);
2473 ULONG *pcEltFetched)
2477 TRACE(
"(%u, %p %p)\n", cElt, rgElt, pcEltFetched);
2480 pcEltFetched = &fetched;
2482 return IEnumOleUndoUnits_RemoteNext_Proxy(
This, cElt, rgElt, pcEltFetched);
2489 ULONG *pcEltFetched)
2493 TRACE(
"(%u, %p, %p)\n", cElt, rgElt, pcEltFetched);
2496 hr = IEnumOleUndoUnits_Next(
This, cElt, rgElt, pcEltFetched);
2498 *pcEltFetched = cElt;
2505 QACONTAINER *pQaContainer,
2506 QACONTROL *pQaControl)
2508 FIXME(
"not implemented\n");
2514 QACONTAINER *pQaContainer,
2515 QACONTROL *pQaControl)
2517 FIXME(
"not implemented\n");
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
struct tagVARIANT VARIANT
static REFPROPVARIANT PROPVAR_CHANGE_FLAGS VARTYPE vt
#define ALIGN_LENGTH(_Len, _Align)
#define ALIGN_POINTER(_Ptr, _Align)
unsigned char *WINAPI WdtpInterfacePointer_UserMarshal(ULONG *pFlags, ULONG RealFlags, unsigned char *pBuffer, IUnknown *punk, REFIID riid)
unsigned char *WINAPI WdtpInterfacePointer_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, IUnknown **ppunk, REFIID riid)
ULONG __RPC_USER WdtpInterfacePointer_UserSize(ULONG *pFlags, ULONG RealFlags, ULONG StartingSize, IUnknown *punk, REFIID riid)
HRESULT WINAPI SafeArrayGetIID(SAFEARRAY *psa, GUID *pGuid)
HRESULT WINAPI SafeArrayDestroyData(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayAllocDescriptor(UINT cDims, SAFEARRAY **ppsaOut)
HRESULT WINAPI SafeArrayGetRecordInfo(SAFEARRAY *psa, IRecordInfo **pRinfo)
SAFEARRAY *WINAPI SafeArrayCreateEx(VARTYPE vt, UINT cDims, SAFEARRAYBOUND *rgsabound, LPVOID pvExtra)
HRESULT WINAPI SafeArrayDestroy(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayAllocData(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayGetVartype(SAFEARRAY *psa, VARTYPE *pvt)
unsigned char *WINAPI CLEANLOCALSTORAGE_UserUnmarshal(ULONG *pFlags, unsigned char *Buffer, CLEANLOCALSTORAGE *pstr)
HRESULT __RPC_STUB ITypeInfo_Invoke_Stub(ITypeInfo *This)
static ULONG SAFEARRAY_GetCellCount(const SAFEARRAY *psa)
HRESULT __RPC_STUB ITypeInfo_GetTypeAttr_Stub(ITypeInfo *This, LPTYPEATTR *ppTypeAttr, CLEANLOCALSTORAGE *pDummy)
HRESULT CALLBACK ITypeInfo_GetDocumentation_Proxy(ITypeInfo *This, MEMBERID memid, BSTR *name, BSTR *doc_string, DWORD *help_context, BSTR *help_file)
HRESULT __RPC_STUB ITypeInfo_GetDllEntry_Stub(ITypeInfo *This, MEMBERID memid, INVOKEKIND invkind, DWORD flags, BSTR *dll_name, BSTR *name, WORD *ordinal)
HRESULT __RPC_STUB ITypeLib_FindName_Stub(ITypeLib *This, LPOLESTR szNameBuf, ULONG lHashVal, ITypeInfo **ppTInfo, MEMBERID *rgMemId, USHORT *pcFound, BSTR *pBstrLibName)
HRESULT __RPC_STUB IEnumConnectionPoints_Next_Stub(IEnumConnectionPoints *This, ULONG cConnections, IConnectionPoint **ppCP, ULONG *pcFetched)
HRESULT CALLBACK ITypeLib_IsName_Proxy(ITypeLib *This, LPOLESTR szNameBuf, ULONG lHashVal, BOOL *pfName)
HRESULT __RPC_STUB ITypeInfo_GetNames_Stub(ITypeInfo *This, MEMBERID memid, BSTR *rgBstrNames, UINT cMaxNames, UINT *pcNames)
HRESULT CALLBACK ITypeLib_GetLibAttr_Proxy(ITypeLib *This, TLIBATTR **ppTLibAttr)
HRESULT CALLBACK IPersistMemory_Save_Proxy(IPersistMemory *This, LPVOID pMem, BOOL fClearDirty, ULONG cbSize)
void WINAPI VARIANT_UserFree(ULONG *pFlags, VARIANT *pvar)
HRESULT CALLBACK ITypeInfo2_GetDocumentation2_Proxy(ITypeInfo2 *This, MEMBERID memid, LCID lcid, BSTR *help_string, DWORD *help_context, BSTR *help_dll)
HRESULT __RPC_STUB ITypeLib_GetDocumentation_Stub(ITypeLib *This, INT index, DWORD flags, BSTR *name, BSTR *doc_string, DWORD *help_context, BSTR *help_file)
HRESULT __RPC_STUB IPersistMemory_Save_Stub(IPersistMemory *This, BYTE *pMem, BOOL fClearDirty, ULONG cbSize)
static void free_embedded_arraydesc(ARRAYDESC *adesc)
HRESULT __RPC_STUB ITypeLib2_GetLibStatistics_Stub(ITypeLib2 *This, ULONG *pcUniqueNames, ULONG *pcchUniqueNames)
static SF_TYPE SAFEARRAY_GetUnionType(SAFEARRAY *psa)
unsigned char *WINAPI LPSAFEARRAY_UserMarshal(ULONG *pFlags, unsigned char *Buffer, LPSAFEARRAY *ppsa)
void WINAPI BSTR_UserFree(ULONG *pFlags, BSTR *pstr)
unsigned char *WINAPI VARIANT_UserUnmarshal(ULONG *pFlags, unsigned char *Buffer, VARIANT *pvar)
unsigned char *WINAPI HFONT_UserMarshal(ULONG *pFlags, unsigned char *Buffer, HFONT *phfont)
HRESULT CALLBACK IQuickActivate_QuickActivate_Proxy(IQuickActivate *This, QACONTAINER *pQaContainer, QACONTROL *pQaControl)
HRESULT __RPC_STUB ITypeComp_Bind_Stub(ITypeComp *This, LPOLESTR name, ULONG lHashVal, WORD flags, ITypeInfo **ti, DESCKIND *desckind, FUNCDESC **funcdesc, VARDESC **vardesc, ITypeComp **typecomp, CLEANLOCALSTORAGE *stg)
HRESULT __RPC_STUB ITypeInfo_GetIDsOfNames_Stub(ITypeInfo *This)
HRESULT CALLBACK ITypeComp_BindType_Proxy(ITypeComp *This, LPOLESTR name, ULONG lHashVal, ITypeInfo **ti, ITypeComp **typecomp)
HRESULT __RPC_STUB IDispatch_Invoke_Stub(IDispatch *This, DISPID dispIdMember, REFIID riid, LCID lcid, DWORD dwFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *pArgErr, UINT cVarRef, UINT *rgVarRefIdx, VARIANTARG *rgVarRef)
HRESULT __RPC_STUB ITypeInfo2_GetDocumentation2_Stub(ITypeInfo2 *This, MEMBERID memid, LCID lcid, DWORD flags, BSTR *help_string, DWORD *help_context, BSTR *help_dll)
void CALLBACK ITypeInfo_ReleaseVarDesc_Proxy(ITypeInfo *This, VARDESC *pVarDesc)
HRESULT __RPC_STUB IEnumOleUndoUnits_Next_Stub(IEnumOleUndoUnits *This, ULONG cElt, IOleUndoUnit **rgElt, ULONG *pcEltFetched)
HRESULT __RPC_STUB ITypeInfo_ReleaseFuncDesc_Stub(ITypeInfo *This)
void CALLBACK ITypeInfo_ReleaseFuncDesc_Proxy(ITypeInfo *This, FUNCDESC *pFuncDesc)
ULONG WINAPI LPSAFEARRAY_UserSize(ULONG *pFlags, ULONG StartingSize, LPSAFEARRAY *ppsa)
void CALLBACK ITypeLib_ReleaseTLibAttr_Proxy(ITypeLib *This, TLIBATTR *pTLibAttr)
HRESULT CALLBACK ITypeLib_GetDocumentation_Proxy(ITypeLib *This, INT index, BSTR *name, BSTR *doc_string, DWORD *help_context, BSTR *help_file)
HRESULT CALLBACK ITypeInfo_AddressOfMember_Proxy(ITypeInfo *This, MEMBERID memid, INVOKEKIND invKind, PVOID *ppv)
HRESULT __RPC_STUB ITypeComp_BindType_Stub(ITypeComp *This, LPOLESTR name, ULONG lHashVal, ITypeInfo **ti)
HRESULT __RPC_STUB ITypeInfo_CreateInstance_Stub(ITypeInfo *This, REFIID riid, IUnknown **ppvObj)
#define FADF_AUTOSETFLAGS
static unsigned char * interface_variant_unmarshal(ULONG *pFlags, unsigned char *Buffer, REFIID riid, IUnknown **ppunk)
static ULONG wire_extra_user_size(ULONG *pFlags, ULONG Start, VARIANT *pvar)
HRESULT CALLBACK IPersistMemory_Load_Proxy(IPersistMemory *This, LPVOID pMem, ULONG cbSize)
void CALLBACK ITypeInfo_ReleaseTypeAttr_Proxy(ITypeInfo *This, TYPEATTR *pTypeAttr)
HRESULT __RPC_STUB ITypeInfo_GetDocumentation_Stub(ITypeInfo *This, MEMBERID memid, DWORD flags, BSTR *name, BSTR *doc_string, DWORD *help_context, BSTR *help_file)
HRESULT CALLBACK IEnumOleUndoUnits_Next_Proxy(IEnumOleUndoUnits *This, ULONG cElt, IOleUndoUnit **rgElt, ULONG *pcEltFetched)
ULONG WINAPI BSTR_UserSize(ULONG *pFlags, ULONG Start, BSTR *pstr)
unsigned char *WINAPI HFONT_UserUnmarshal(ULONG *pFlags, unsigned char *Buffer, HFONT *phfont)
HRESULT CALLBACK ITypeLib2_GetDocumentation2_Proxy(ITypeLib2 *This, INT index, LCID lcid, BSTR *help_string, DWORD *help_context, BSTR *help_dll)
HRESULT CALLBACK IDispatch_Invoke_Proxy(IDispatch *This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
void CALLBACK IAdviseSinkEx_OnViewStatusChange_Proxy(IAdviseSinkEx *This, DWORD dwViewStatus)
UINT CALLBACK ITypeLib_GetTypeInfoCount_Proxy(ITypeLib *This)
unsigned char *WINAPI VARIANT_UserMarshal(ULONG *pFlags, unsigned char *Buffer, VARIANT *pvar)
HRESULT CALLBACK ITypeInfo_GetVarDesc_Proxy(ITypeInfo *This, UINT index, VARDESC **ppVarDesc)
ULONG WINAPI VARIANT_UserSize(ULONG *pFlags, ULONG Start, VARIANT *pvar)
HRESULT __RPC_STUB IPropertyBag_Read_Stub(IPropertyBag *This, LPCOLESTR pszPropName, VARIANT *pVar, IErrorLog *pErrorLog, DWORD varType, IUnknown *pUnkObj)
HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub(ITypeLib *This, LPTLIBATTR *ppTLibAttr, CLEANLOCALSTORAGE *pDummy)
HRESULT CALLBACK ITypeInfo_GetNames_Proxy(ITypeInfo *This, MEMBERID memid, BSTR *rgBstrNames, UINT cMaxNames, UINT *pcNames)
HRESULT CALLBACK IEnumConnections_Next_Proxy(IEnumConnections *This, ULONG cConnections, LPCONNECTDATA rgcd, ULONG *pcFetched)
HRESULT CALLBACK ITypeInfo_GetDllEntry_Proxy(ITypeInfo *This, MEMBERID memid, INVOKEKIND invkind, BSTR *dll_name, BSTR *name, WORD *ordinal)
HRESULT CALLBACK ITypeInfo_GetContainingTypeLib_Proxy(ITypeInfo *This, ITypeLib **ppTLib, UINT *pIndex)
HRESULT CALLBACK ITypeLib_FindName_Proxy(ITypeLib *This, LPOLESTR szNameBuf, ULONG lHashVal, ITypeInfo **ppTInfo, MEMBERID *rgMemId, USHORT *pcFound)
unsigned char *WINAPI LPSAFEARRAY_UserUnmarshal(ULONG *pFlags, unsigned char *Buffer, LPSAFEARRAY *ppsa)
HRESULT CALLBACK ITypeComp_Bind_Proxy(ITypeComp *This, LPOLESTR name, ULONG lHashVal, WORD flags, ITypeInfo **ti, DESCKIND *desckind, BINDPTR *bindptr)
static void dump_user_flags(const ULONG *pFlags)
static DWORD elem_mem_size(wireSAFEARRAY wiresa, SF_TYPE sftype)
HRESULT __RPC_STUB ITypeInfo_AddressOfMember_Stub(ITypeInfo *This)
HRESULT __RPC_STUB ITypeInfo_GetFuncDesc_Stub(ITypeInfo *This, UINT index, LPFUNCDESC *ppFuncDesc, CLEANLOCALSTORAGE *pDummy)
HRESULT __RPC_STUB IQuickActivate_QuickActivate_Stub(IQuickActivate *This, QACONTAINER *pQaContainer, QACONTROL *pQaControl)
HRESULT CALLBACK IEnumVARIANT_Next_Proxy(IEnumVARIANT *This, ULONG celt, VARIANT *rgVar, ULONG *pCeltFetched)
HRESULT CALLBACK ITypeInfo_GetFuncDesc_Proxy(ITypeInfo *This, UINT index, FUNCDESC **ppFuncDesc)
HRESULT __RPC_STUB ITypeInfo_GetContainingTypeLib_Stub(ITypeInfo *This, ITypeLib **ppTLib, UINT *pIndex)
HRESULT CALLBACK ITypeInfo_GetIDsOfNames_Proxy(ITypeInfo *This, LPOLESTR *rgszNames, UINT cNames, MEMBERID *pMemId)
ULONG WINAPI CLEANLOCALSTORAGE_UserSize(ULONG *pFlags, ULONG Start, CLEANLOCALSTORAGE *pstg)
static unsigned interface_variant_size(ULONG *pFlags, REFIID riid, IUnknown *punk)
static unsigned int get_type_alignment(ULONG *pFlags, VARTYPE vt)
HRESULT __RPC_STUB ITypeInfo_GetVarDesc_Stub(ITypeInfo *This, UINT index, LPVARDESC *ppVarDesc, CLEANLOCALSTORAGE *pDummy)
static void free_embedded_typedesc(TYPEDESC *tdesc)
HRESULT __RPC_STUB ITypeLib_IsName_Stub(ITypeLib *This, LPOLESTR szNameBuf, ULONG lHashVal, BOOL *pfName, BSTR *pBstrLibName)
static DWORD elem_wire_size(LPSAFEARRAY lpsa, SF_TYPE sftype)
HRESULT CALLBACK ITypeInfo_GetTypeAttr_Proxy(ITypeInfo *This, TYPEATTR **ppTypeAttr)
void WINAPI CLEANLOCALSTORAGE_UserFree(ULONG *pFlags, CLEANLOCALSTORAGE *pstr)
void WINAPI LPSAFEARRAY_UserFree(ULONG *pFlags, LPSAFEARRAY *ppsa)
HRESULT CALLBACK ITypeLib2_GetLibStatistics_Proxy(ITypeLib2 *This, ULONG *pcUniqueNames, ULONG *pcchUniqueNames)
HRESULT __RPC_STUB IEnumVARIANT_Next_Stub(IEnumVARIANT *This, ULONG celt, VARIANT *rgVar, ULONG *pCeltFetched)
HRESULT __RPC_STUB ITypeLib_GetTypeInfoCount_Stub(ITypeLib *This, UINT *pcTInfo)
unsigned char *WINAPI CLEANLOCALSTORAGE_UserMarshal(ULONG *pFlags, unsigned char *Buffer, CLEANLOCALSTORAGE *pstg)
HRESULT __RPC_STUB ITypeLib2_GetDocumentation2_Stub(ITypeLib2 *This, INT index, LCID lcid, DWORD flags, BSTR *help_string, DWORD *help_context, BSTR *help_dll)
HRESULT __RPC_STUB IEnumConnections_Next_Stub(IEnumConnections *This, ULONG cConnections, LPCONNECTDATA rgcd, ULONG *pcFetched)
HRESULT CALLBACK IPropertyBag_Read_Proxy(IPropertyBag *This, LPCOLESTR pszPropName, VARIANT *pVar, IErrorLog *pErrorLog)
HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub(ITypeLib *This)
HRESULT CALLBACK IEnumConnectionPoints_Next_Proxy(IEnumConnectionPoints *This, ULONG cConnections, IConnectionPoint **ppCP, ULONG *pcFetched)
HRESULT __RPC_STUB IPersistMemory_Load_Stub(IPersistMemory *This, BYTE *pMem, ULONG cbSize)
HRESULT __RPC_STUB IAdviseSinkEx_OnViewStatusChange_Stub(IAdviseSinkEx *This, DWORD dwViewStatus)
ULONG WINAPI HFONT_UserSize(ULONG *pFlags, ULONG Start, HFONT *phfont)
unsigned char *WINAPI BSTR_UserMarshal(ULONG *pFlags, unsigned char *Buffer, BSTR *pstr)
HRESULT __RPC_STUB ITypeInfo_ReleaseVarDesc_Stub(ITypeInfo *This)
HRESULT CALLBACK ITypeInfo_Invoke_Proxy(ITypeInfo *This, PVOID pvInstance, MEMBERID memid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
HRESULT __RPC_STUB ITypeInfo_ReleaseTypeAttr_Stub(ITypeInfo *This)
unsigned char *WINAPI BSTR_UserUnmarshal(ULONG *pFlags, unsigned char *Buffer, BSTR *pstr)
HRESULT CALLBACK IClassFactory2_CreateInstanceLic_Proxy(IClassFactory2 *This, IUnknown *pUnkOuter, IUnknown *pUnkReserved, REFIID riid, BSTR bstrKey, PVOID *ppvObj)
static void free_embedded_elemdesc(ELEMDESC *edesc)
HRESULT __RPC_STUB IClassFactory2_CreateInstanceLic_Stub(IClassFactory2 *This, REFIID riid, BSTR bstrKey, IUnknown **ppvObj)
void WINAPI HFONT_UserFree(ULONG *pFlags, HFONT *phfont)
HRESULT CALLBACK ITypeInfo_CreateInstance_Proxy(ITypeInfo *This, IUnknown *pUnkOuter, REFIID riid, PVOID *ppvObj)
static unsigned char * interface_variant_marshal(ULONG *pFlags, unsigned char *Buffer, REFIID riid, IUnknown *punk)
unsigned int get_type_size(ULONG *pFlags, VARTYPE vt)
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
int align(int length, int align)
GLuint GLuint GLsizei count
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
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 * u
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
#define memcpy(s1, s2, n)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static VARIANTARG static DISPID
static SCRIPT_CACHE SCRIPT_ANALYSIS * psa
unsigned __int3264 UINT_PTR
_Out_ PULONG _Out_ PULONG pIndex
UINT WINAPI SysStringByteLen(BSTR str)
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
int WINAPI SysReAllocStringLen(BSTR *old, const OLECHAR *str, unsigned int len)
#define NDR_LOCAL_DATA_REPRESENTATION
void DECLSPEC_NORETURN WINAPI RpcRaiseException(RPC_STATUS exception)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
void WINAPI VariantInit(VARIANTARG *pVarg)
HRESULT WINAPI VariantCopy(VARIANTARG *pvargDest, VARIANTARG *pvargSrc)
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
#define RPC_S_INVALID_BOUND
#define CLASS_E_NOAGGREGATION