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)
47#define USER_MARSHAL_PTR_PREFIX \
48 ( (DWORD)'U' | ( (DWORD)'s' << 8 ) | \
49 ( (DWORD)'e' << 16 ) | ( (DWORD)'r' << 24 ) )
58 loword=
"MSHCTX_LOCAL";
60 case MSHCTX_NOSHAREDMEM:
61 loword=
"MSHCTX_NOSHAREDMEM";
63 case MSHCTX_DIFFERENTMACHINE:
64 loword=
"MSHCTX_DIFFERENTMACHINE";
67 loword=
"MSHCTX_INPROC";
75 return wine_dbg_sprintf(
"MAKELONG(%s, NDR_LOCAL_DATA_REPRESENTATION)", loword);
110 if ((*pCF >= 0xc000) && (
LOWORD(*pFlags) == MSHCTX_DIFFERENTMACHINE))
153 if ((*pCF >= 0xc000) && (
LOWORD(*pFlags) == MSHCTX_DIFFERENTMACHINE))
218 if (fContext == WDT_INPROC_CALL)
223 else if (fContext == WDT_REMOTE_CALL)
282 if (
LOWORD(*pFlags) == MSHCTX_DIFFERENTMACHINE)
284 ERR(
"can't remote a local handle\n");
290 return StartingSize +
sizeof(RemotableHandle);
295 RemotableHandle *remhandle;
296 if (
LOWORD(*pFlags) == MSHCTX_DIFFERENTMACHINE)
298 ERR(
"can't remote a local handle\n");
304 remhandle = (RemotableHandle *)
pBuffer;
305 remhandle->fContext = WDT_INPROC_CALL;
307 return pBuffer +
sizeof(RemotableHandle);
312 RemotableHandle *remhandle;
315 remhandle = (RemotableHandle *)
pBuffer;
316 if (remhandle->fContext != WDT_INPROC_CALL)
319 return pBuffer +
sizeof(RemotableHandle);
327#define IMPL_WIREM_HANDLE(type) \
328 ULONG __RPC_USER type##_UserSize(ULONG *pFlags, ULONG StartingSize, type *handle) \
330 TRACE("(%s, %d, %p\n", debugstr_user_flags(pFlags), StartingSize, handle); \
331 return handle_UserSize(pFlags, StartingSize, (HANDLE *)handle); \
334 unsigned char * __RPC_USER type##_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, type *handle) \
336 TRACE("(%s, %p, &%p\n", debugstr_user_flags(pFlags), pBuffer, *handle); \
337 return handle_UserMarshal(pFlags, pBuffer, (HANDLE *)handle); \
340 unsigned char * __RPC_USER type##_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, type *handle) \
342 TRACE("(%s, %p, %p\n", debugstr_user_flags(pFlags), pBuffer, handle); \
343 return handle_UserUnmarshal(pFlags, pBuffer, (HANDLE *)handle); \
346 void __RPC_USER type##_UserFree(ULONG *pFlags, type *handle) \
348 TRACE("(%s, &%p\n", debugstr_user_flags(pFlags), *handle); \
349 handle_UserFree(pFlags, (HANDLE *)handle); \
389 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
431 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
433 if (
sizeof(*phGlobal) == 8)
449 const unsigned char *
memory;
498 if (((fContext == WDT_INPROC_CALL) && (
sizeof(*phGlobal) < 8)) ||
499 ((fContext == WDT_INPROC64_CALL) && (
sizeof(*phGlobal) == 8)))
504 else if (fContext == WDT_REMOTE_CALL)
574 if (
LOWORD(*pFlags) != MSHCTX_INPROC && *phGlobal)
712 if (
context == WDT_INPROC_CALL)
717 else if (
context == WDT_REMOTE_CALL)
908 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
952 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
954 if (
sizeof(*phmf) == 8)
1015 if (((fContext == WDT_INPROC_CALL) && (
sizeof(*phmf) < 8)) ||
1016 ((fContext == WDT_INPROC64_CALL) && (
sizeof(*phmf) == 8)))
1018 *phmf = *(HMETAFILE *)
pBuffer;
1021 else if (fContext == WDT_REMOTE_CALL)
1073 if (
LOWORD(*pFlags) != MSHCTX_INPROC)
1104 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
1148 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
1150 if (
sizeof(*phEmf) == 8)
1155 *(HENHMETAFILE *)
pBuffer = *phEmf;
1156 pBuffer +=
sizeof(HENHMETAFILE);
1211 if (((fContext == WDT_INPROC_CALL) && (
sizeof(*phEmf) < 8)) ||
1212 ((fContext == WDT_INPROC64_CALL) && (
sizeof(*phEmf) == 8)))
1214 *phEmf = *(HENHMETAFILE *)
pBuffer;
1217 else if (fContext == WDT_REMOTE_CALL)
1269 if (
LOWORD(*pFlags) != MSHCTX_INPROC)
1301 if(
LOWORD(*pFlags) == MSHCTX_INPROC)
1302 size +=
sizeof(HMETAFILEPICT);
1349 if (
LOWORD(*pFlags) == MSHCTX_INPROC)
1351 if (
sizeof(HMETAFILEPICT) == 8)
1356 *(HMETAFILEPICT *)
pBuffer = *phMfp;
1357 pBuffer +=
sizeof(HMETAFILEPICT);
1369 remoteMETAFILEPICT * remmfpict = (remoteMETAFILEPICT *)
pBuffer;
1372 remmfpict->mm = mfpict->
mm;
1373 remmfpict->xExt = mfpict->
xExt;
1374 remmfpict->yExt = mfpict->
yExt;
1417 if ((fContext == WDT_INPROC_CALL) || fContext == WDT_INPROC64_CALL)
1419 *phMfp = *(HMETAFILEPICT *)
pBuffer;
1420 pBuffer +=
sizeof(HMETAFILEPICT);
1431 const remoteMETAFILEPICT *remmfpict;
1432 ULONG user_marshal_prefix;
1434 remmfpict = (
const remoteMETAFILEPICT *)
pBuffer;
1441 mfpict->
mm = remmfpict->mm;
1442 mfpict->
xExt = remmfpict->xExt;
1443 mfpict->
yExt = remmfpict->yExt;
1481 if ((
LOWORD(*pFlags) != MSHCTX_INPROC) && *phMfp)
1517 DWORD marshal_size = 0;
1523 if(
FAILED(
hr))
return StartingSize;
1526 StartingSize += 2 *
sizeof(
DWORD);
1527 return StartingSize + marshal_size;
1568 IStream_Release(stm);
1584 IStream_Release(stm);
1644 IStream_Release(stm);
1648 if(orig) IUnknown_Release(orig);
1666 TRACE(
"(%p)\n", punk);
1667 if(punk) IUnknown_Release(punk);
1699 if (pStgMedium->tymed != TYMED_NULL)
1702 switch (pStgMedium->tymed)
1705 TRACE(
"TYMED_NULL\n");
1708 TRACE(
"TYMED_HGLOBAL\n");
1709 if (pStgMedium->u.hGlobal)
1713 TRACE(
"TYMED_FILE\n");
1714 if (pStgMedium->u.lpszFileName)
1722 TRACE(
"TYMED_ISTREAM\n");
1723 if (pStgMedium->u.pstm)
1726 IStream_QueryInterface(pStgMedium->u.pstm, &
IID_IUnknown, (
void**)&unk);
1728 IUnknown_Release(unk);
1731 case TYMED_ISTORAGE:
1732 TRACE(
"TYMED_ISTORAGE\n");
1733 if (pStgMedium->u.pstg)
1736 IStorage_QueryInterface(pStgMedium->u.pstg, &
IID_IUnknown, (
void**)&unk);
1738 IUnknown_Release(unk);
1742 TRACE(
"TYMED_GDI\n");
1743 if (pStgMedium->u.hBitmap)
1747 TRACE(
"TYMED_MFPICT\n");
1748 if (pStgMedium->u.hMetaFilePict)
1752 TRACE(
"TYMED_ENHMF\n");
1753 if (pStgMedium->u.hEnhMetaFile)
1760 if (pStgMedium->pUnkForRelease)
1793 if (pStgMedium->tymed != TYMED_NULL)
1801 switch (pStgMedium->tymed)
1804 TRACE(
"TYMED_NULL\n");
1807 TRACE(
"TYMED_HGLOBAL\n");
1808 if (pStgMedium->u.hGlobal)
1812 TRACE(
"TYMED_FILE\n");
1813 if (pStgMedium->u.lpszFileName)
1832 TRACE(
"TYMED_ISTREAM\n");
1833 if (pStgMedium->u.pstm)
1836 IStream_QueryInterface(pStgMedium->u.pstm, &
IID_IUnknown, (
void**)&unk);
1838 IUnknown_Release(unk);
1841 case TYMED_ISTORAGE:
1842 TRACE(
"TYMED_ISTORAGE\n");
1843 if (pStgMedium->u.pstg)
1846 IStorage_QueryInterface(pStgMedium->u.pstg, &
IID_IUnknown, (
void**)&unk);
1848 IUnknown_Release(unk);
1852 TRACE(
"TYMED_GDI\n");
1853 if (pStgMedium->u.hBitmap)
1857 TRACE(
"TYMED_MFPICT\n");
1858 if (pStgMedium->u.hMetaFilePict)
1862 TRACE(
"TYMED_ENHMF\n");
1863 if (pStgMedium->u.hEnhMetaFile)
1870 if (pStgMedium->pUnkForRelease)
1906 if (pStgMedium->tymed != TYMED_NULL)
1914 switch (pStgMedium->tymed)
1917 TRACE(
"TYMED_NULL\n");
1920 TRACE(
"TYMED_HGLOBAL\n");
1925 TRACE(
"TYMED_FILE\n");
1941 if (conformance != variance)
1943 ERR(
"conformance (%d) and variance (%d) should be equal\n",
1944 conformance, variance);
1948 if (conformance > 0x7fffffff)
1950 ERR(
"conformance 0x%x too large\n", conformance);
1961 pStgMedium->u.lpszFileName =
NULL;
1964 TRACE(
"TYMED_ISTREAM\n");
1971 if (pStgMedium->u.pstm) IStream_Release( pStgMedium->u.pstm );
1972 pStgMedium->u.pstm =
NULL;
1975 case TYMED_ISTORAGE:
1976 TRACE(
"TYMED_ISTORAGE\n");
1983 if (pStgMedium->u.pstg) IStorage_Release( pStgMedium->u.pstg );
1984 pStgMedium->u.pstg =
NULL;
1988 TRACE(
"TYMED_GDI\n");
1992 pStgMedium->u.hBitmap =
NULL;
1995 TRACE(
"TYMED_MFPICT\n");
1999 pStgMedium->u.hMetaFilePict =
NULL;
2002 TRACE(
"TYMED_ENHMF\n");
2006 pStgMedium->u.hEnhMetaFile =
NULL;
2047 case TYMED_ISTORAGE:
2055 med->tymed = TYMED_NULL;
2090 return StartingSize;
2124 WCHAR **ptrW = *pSnb;
2158 WCHAR **ptrW = *pSnb;
2220 TRACE(
"(%p)\n", pSnb);
2237 ERR(
"aggregation is not allowed on remote objects\n");
2240 return IClassFactory_RemoteCreateInstance_Proxy(
This,
riid,
2275 ULONG *pceltFetched)
2278 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2279 if (!pceltFetched) pceltFetched = &fetched;
2280 return IEnumUnknown_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
2287 ULONG *pceltFetched)
2290 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2292 hr = IEnumUnknown_Next(
This, celt, rgelt, pceltFetched);
2293 if (
hr ==
S_OK) *pceltFetched = celt;
2299 BIND_OPTS *pbindopts)
2307 BIND_OPTS2 *pbindopts)
2315 BIND_OPTS *pbindopts)
2323 BIND_OPTS2 *pbindopts)
2333 ULONG *pceltFetched)
2336 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2337 if (!pceltFetched) pceltFetched = &fetched;
2338 return IEnumMoniker_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
2345 ULONG *pceltFetched)
2348 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2350 hr = IEnumMoniker_Next(
This, celt, rgelt, pceltFetched);
2351 if (
hr ==
S_OK) *pceltFetched = celt;
2360 memset(&rv, 0,
sizeof rv);
2401 return IMoniker_RemoteBindToStorage_Proxy(
This, pbc, pmkToLeft,
riid, (
IUnknown**)ppvObj);
2412 return IMoniker_BindToStorage(
This, pbc, pmkToLeft,
riid, (
void**)ppvObj);
2419 ULONG *pceltFetched)
2422 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2423 if (!pceltFetched) pceltFetched = &fetched;
2424 return IEnumString_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
2431 ULONG *pceltFetched)
2434 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2436 hr = IEnumString_Next(
This, celt, rgelt, pceltFetched);
2437 if (
hr ==
S_OK) *pceltFetched = celt;
2450 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pv,
cb, pcbRead);
2452 hr = ISequentialStream_RemoteRead_Proxy(
This, pv,
cb, &
read);
2453 if(pcbRead) *pcbRead =
read;
2464 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pv,
cb, pcbRead);
2465 return ISequentialStream_Read(
This, pv,
cb, pcbRead);
2477 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pv,
cb, pcbWritten);
2479 hr = ISequentialStream_RemoteWrite_Proxy(
This, pv,
cb, &written);
2480 if(pcbWritten) *pcbWritten = written;
2491 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pv,
cb, pcbWritten);
2492 return ISequentialStream_Write(
This, pv,
cb, pcbWritten);
2506 hr = IStream_RemoteSeek_Proxy(
This, dlibMove, dwOrigin, &newpos);
2507 if(plibNewPosition) *plibNewPosition = newpos;
2519 return IStream_Seek(
This, dlibMove, dwOrigin, plibNewPosition);
2534 hr = IStream_RemoteCopyTo_Proxy(
This, pstm,
cb, &
read, &written);
2535 if(pcbRead) *pcbRead =
read;
2536 if(pcbWritten) *pcbWritten = written;
2550 return IStream_CopyTo(
This, pstm,
cb, pcbRead, pcbWritten);
2557 ULONG *pceltFetched)
2560 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2561 if (!pceltFetched) pceltFetched = &fetched;
2562 return IEnumSTATSTG_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
2569 ULONG *pceltFetched)
2572 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2574 hr = IEnumSTATSTG_Next(
This, celt, rgelt, pceltFetched);
2575 if (
hr ==
S_OK) *pceltFetched = celt;
2588 if(reserved1)
WARN(
"reserved1 %p\n", reserved1);
2590 return IStorage_RemoteOpenStream_Proxy(
This, pwcsName, 0,
NULL, grfMode,
reserved2, ppstm);
2602 TRACE(
"(%p)->(%s, %d, %p, %08x, %d %p)\n",
This,
debugstr_w(pwcsName), cbReserved1, reserved1, grfMode,
reserved2, ppstm);
2603 if(cbReserved1 || reserved1)
WARN(
"cbReserved1 %d reserved1 %p\n", cbReserved1, reserved1);
2618 return IStorage_RemoteEnumElements_Proxy(
This, reserved1, 0,
NULL,
reserved3, ppenum);
2629 TRACE(
"(%p)->(%d, %d, %p, %d, %p)\n",
This, reserved1, cbReserved2,
reserved2,
reserved3, ppenum);
2647 hr = ILockBytes_RemoteReadAt_Proxy(
This, ulOffset, pv,
cb, &
read);
2648 if(pcbRead) *pcbRead =
read;
2661 return ILockBytes_ReadAt(
This, ulOffset, pv,
cb, pcbRead);
2676 hr = ILockBytes_RemoteWriteAt_Proxy(
This, ulOffset, pv,
cb, &written);
2677 if(pcbWritten) *pcbWritten = written;
2690 return ILockBytes_WriteAt(
This, ulOffset, pv,
cb, pcbWritten);
2702 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pv,
cb, pcbWritten);
2704 hr = IFillLockBytes_RemoteFillAppend_Proxy(
This, pv,
cb, &written);
2705 if(pcbWritten) *pcbWritten = written;
2716 TRACE(
"(%p)->(%p, %d, %p)\n",
This, pv,
cb, pcbWritten);
2717 return IFillLockBytes_FillAppend(
This, pv,
cb, pcbWritten);
2732 hr = IFillLockBytes_RemoteFillAt_Proxy(
This, ulOffset, pv,
cb, &written);
2733 if(pcbWritten) *pcbWritten = written;
2746 return IFillLockBytes_FillAt(
This, ulOffset, pv,
cb, pcbWritten);
2753 ULONG *pceltFetched)
2756 if (!pceltFetched) pceltFetched = &fetched;
2757 return IEnumFORMATETC_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
2764 ULONG *pceltFetched)
2768 hr = IEnumFORMATETC_Next(
This, celt, rgelt, pceltFetched);
2769 if (
hr ==
S_OK) *pceltFetched = celt;
2777 ULONG *pceltFetched)
2780 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2781 if (!pceltFetched) pceltFetched = &fetched;
2782 return IEnumSTATDATA_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
2789 ULONG *pceltFetched)
2792 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
2794 hr = IEnumSTATDATA_Next(
This, celt, rgelt, pceltFetched);
2795 if (
hr ==
S_OK) *pceltFetched = celt;
2801 FORMATETC *pFormatetc,
2804 TRACE(
"(%p)->(%p, %p)\n",
This, pFormatetc, pStgmed);
2805 IAdviseSink_RemoteOnDataChange_Proxy(
This, pFormatetc, pStgmed);
2810 FORMATETC *pFormatetc,
2811 ASYNC_STGMEDIUM *pStgmed)
2813 TRACE(
"(%p)->(%p, %p)\n",
This, pFormatetc, pStgmed);
2814 IAdviseSink_OnDataChange(
This, pFormatetc, pStgmed);
2823 TRACE(
"(%p)->(%d, %d)\n",
This, dwAspect, lindex);
2824 IAdviseSink_RemoteOnViewChange_Proxy(
This, dwAspect, lindex);
2832 TRACE(
"(%p)->(%d, %d)\n",
This, dwAspect, lindex);
2833 IAdviseSink_OnViewChange(
This, dwAspect, lindex);
2842 IAdviseSink_RemoteOnRename_Proxy(
This, pmk);
2850 IAdviseSink_OnRename(
This, pmk);
2858 IAdviseSink_RemoteOnSave_Proxy(
This);
2865 IAdviseSink_OnSave(
This);
2873 IAdviseSink_RemoteOnClose_Proxy(
This);
2880 IAdviseSink_OnClose(
This);
2889 IAdviseSink2_RemoteOnLinkSrcChange_Proxy(
This, pmk);
2897 IAdviseSink2_OnLinkSrcChange(
This, pmk);
2903 FORMATETC *pformatetcIn,
2906 TRACE(
"(%p)->(%p, %p)\n",
This, pformatetcIn, pmedium);
2907 return IDataObject_RemoteGetData_Proxy(
This, pformatetcIn, pmedium);
2912 FORMATETC *pformatetcIn,
2913 STGMEDIUM *pRemoteMedium)
2915 TRACE(
"(%p)->(%p, %p)\n",
This, pformatetcIn, pRemoteMedium);
2916 return IDataObject_GetData(
This, pformatetcIn, pRemoteMedium);
2925 TRACE(
"(%p)->(%p, %p)\n", iface,
fmt, med);
2927 if ((med->tymed & (TYMED_HGLOBAL | TYMED_FILE | TYMED_ISTREAM | TYMED_ISTORAGE)) == 0)
2929 if (med->tymed !=
fmt->tymed)
2932 release = med->pUnkForRelease;
2933 med->pUnkForRelease =
NULL;
2935 if (med->tymed == TYMED_ISTREAM || med->tymed == TYMED_ISTORAGE)
2938 if (stg) IStorage_AddRef( stg );
2941 hr = IDataObject_RemoteGetDataHere_Proxy(iface,
fmt, med);
2943 med->pUnkForRelease = release;
2947 IStorage_Release( med->u.pstg );
2956 FORMATETC *pformatetc,
2957 STGMEDIUM *pRemoteMedium)
2959 TRACE(
"(%p)->(%p, %p)\n",
This, pformatetc, pRemoteMedium);
2960 return IDataObject_GetDataHere(
This, pformatetc, pRemoteMedium);
2965 FORMATETC *pformatetc,
2975 FORMATETC *pformatetc,
2976 FLAG_STGMEDIUM *pmedium,
2990 return IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy(
This);
3027 TRACE(
"(%p, %p, 0x%08x, %p)\n",
This, pDataObject, grfUpdf, pReserved);
3028 return IOleCache2_RemoteUpdateCache_Proxy(
This, pDataObject, grfUpdf, (
LONG_PTR)pReserved);
3037 TRACE(
"(%p, %p, 0x%08x, %li)\n",
This, pDataObject, grfUpdf, pReserved);
3038 return IOleCache2_UpdateCache(
This, pDataObject, grfUpdf, (
void*)pReserved);
3045 ULONG *pceltFetched)
3048 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
3049 if (!pceltFetched) pceltFetched = &fetched;
3050 return IEnumOLEVERB_RemoteNext_Proxy(
This, celt, rgelt, pceltFetched);
3057 ULONG *pceltFetched)
3060 TRACE(
"(%p)->(%d, %p, %p)\n",
This, celt, rgelt, pceltFetched);
3062 hr = IEnumOLEVERB_Next(
This, celt, rgelt, pceltFetched);
3063 if (
hr ==
S_OK) *pceltFetched = celt;
3072 DVTARGETDEVICE *ptd,
3089 DVTARGETDEVICE *ptd,
3105 DVTARGETDEVICE *ptd,
3118 DVTARGETDEVICE *ptd,
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
const char * wine_dbg_sprintf(const char *format,...)
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
#define HeapFree(x, y, z)
VOID WINAPI RaiseException(_In_ DWORD dwExceptionCode, _In_ DWORD dwExceptionFlags, _In_ DWORD nNumberOfArguments, _In_opt_ const ULONG_PTR *lpArguments)
HRESULT WINAPI CreateStreamOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM *ppstm)
HRESULT WINAPI CoUnmarshalInterface(IStream *pStream, REFIID riid, LPVOID *ppv)
HRESULT WINAPI CoGetMarshalSizeMax(ULONG *pulSize, REFIID riid, IUnknown *pUnk, DWORD dwDestContext, void *pvDestContext, DWORD mshlFlags)
HRESULT WINAPI CoMarshalInterface(IStream *pStream, REFIID riid, IUnknown *pUnk, DWORD dwDestContext, void *pvDestContext, DWORD mshlFlags)
void WINAPI ReleaseStgMedium(STGMEDIUM *pmedium)
HRESULT __RPC_STUB ISequentialStream_Write_Stub(ISequentialStream *This, const byte *pv, ULONG cb, ULONG *pcbWritten)
HRESULT CALLBACK IEnumUnknown_Next_Proxy(IEnumUnknown *This, ULONG celt, IUnknown **rgelt, ULONG *pceltFetched)
HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy(IFillLockBytes *This, const void *pv, ULONG cb, ULONG *pcbWritten)
HRESULT CALLBACK IDataObject_GetData_Proxy(IDataObject *This, FORMATETC *pformatetcIn, STGMEDIUM *pmedium)
HRESULT __RPC_STUB IOleInPlaceActiveObject_TranslateAccelerator_Stub(IOleInPlaceActiveObject *This)
HRESULT CALLBACK IMoniker_BindToStorage_Proxy(IMoniker *This, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riid, void **ppvObj)
#define ALIGN_LENGTH(_Len, _Align)
void __RPC_USER HBITMAP_UserFree(ULONG *flags, HBITMAP *bmp)
void __RPC_USER HMETAFILE_UserFree(ULONG *pFlags, HMETAFILE *phmf)
HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(ILockBytes *This, ULARGE_INTEGER ulOffset, const byte *pv, ULONG cb, ULONG *pcbWritten)
unsigned char *__RPC_USER CLIPFORMAT_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, CLIPFORMAT *pCF)
unsigned char *__RPC_USER STGMEDIUM_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, STGMEDIUM *pStgMedium)
HRESULT CALLBACK IOleInPlaceActiveObject_TranslateAccelerator_Proxy(IOleInPlaceActiveObject *This, LPMSG lpmsg)
ULONG __RPC_USER HMETAFILEPICT_UserSize(ULONG *pFlags, ULONG size, HMETAFILEPICT *phMfp)
void CALLBACK IAdviseSink_OnRename_Proxy(IAdviseSink *This, IMoniker *pmk)
HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub(IEnumFORMATETC *This, ULONG celt, FORMATETC *rgelt, ULONG *pceltFetched)
static ULONG handle_UserSize(ULONG *pFlags, ULONG StartingSize, HANDLE *handle)
#define ALIGN_POINTER(_Ptr, _Align)
HRESULT __RPC_STUB IStorage_EnumElements_Stub(IStorage *This, DWORD reserved1, ULONG cbReserved2, byte *reserved2, DWORD reserved3, IEnumSTATSTG **ppenum)
HRESULT __RPC_STUB IEnumSTATSTG_Next_Stub(IEnumSTATSTG *This, ULONG celt, STATSTG *rgelt, ULONG *pceltFetched)
ULONG __RPC_USER HMETAFILE_UserSize(ULONG *pFlags, ULONG StartingSize, HMETAFILE *phmf)
HRESULT CALLBACK ILockBytes_WriteAt_Proxy(ILockBytes *This, ULARGE_INTEGER ulOffset, const void *pv, ULONG cb, ULONG *pcbWritten)
HRESULT __RPC_STUB IAdviseSink_OnDataChange_Stub(IAdviseSink *This, FORMATETC *pFormatetc, ASYNC_STGMEDIUM *pStgmed)
HRESULT __RPC_STUB IEnumMoniker_Next_Stub(IEnumMoniker *This, ULONG celt, IMoniker **rgelt, ULONG *pceltFetched)
HRESULT __RPC_STUB IAdviseSink_OnSave_Stub(IAdviseSink *This)
HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(ILockBytes *This, ULARGE_INTEGER ulOffset, byte *pv, ULONG cb, ULONG *pcbRead)
unsigned char *__RPC_USER SNB_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, SNB *pSnb)
HRESULT CALLBACK IFillLockBytes_FillAt_Proxy(IFillLockBytes *This, ULARGE_INTEGER ulOffset, const void *pv, ULONG cb, ULONG *pcbWritten)
HRESULT __RPC_STUB IDataObject_GetDataHere_Stub(IDataObject *This, FORMATETC *pformatetc, STGMEDIUM *pRemoteMedium)
HRESULT __RPC_STUB IFillLockBytes_FillAppend_Stub(IFillLockBytes *This, const byte *pv, ULONG cb, ULONG *pcbWritten)
unsigned char *__RPC_USER HMETAFILEPICT_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, HMETAFILEPICT *phMfp)
HRESULT CALLBACK IEnumOLEVERB_Next_Proxy(IEnumOLEVERB *This, ULONG celt, LPOLEVERB rgelt, ULONG *pceltFetched)
HRESULT __RPC_STUB IStorage_OpenStream_Stub(IStorage *This, LPCOLESTR pwcsName, ULONG cbReserved1, byte *reserved1, DWORD grfMode, DWORD reserved2, IStream **ppstm)
#define IMPL_WIREM_HANDLE(type)
HRESULT CALLBACK ILockBytes_ReadAt_Proxy(ILockBytes *This, ULARGE_INTEGER ulOffset, void *pv, ULONG cb, ULONG *pcbRead)
unsigned char *__RPC_USER HMETAFILE_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, HMETAFILE *phmf)
HRESULT __RPC_STUB IDataObject_GetData_Stub(IDataObject *This, FORMATETC *pformatetcIn, STGMEDIUM *pRemoteMedium)
HRESULT __RPC_STUB IEnumSTATDATA_Next_Stub(IEnumSTATDATA *This, ULONG celt, STATDATA *rgelt, ULONG *pceltFetched)
HRESULT __RPC_STUB IBindCtx_GetBindOptions_Stub(IBindCtx *This, BIND_OPTS2 *pbindopts)
void __RPC_USER HENHMETAFILE_UserFree(ULONG *pFlags, HENHMETAFILE *phEmf)
HRESULT __RPC_STUB IRunnableObject_IsRunning_Stub(IRunnableObject *This)
HRESULT __RPC_STUB IEnumString_Next_Stub(IEnumString *This, ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched)
void CALLBACK IAdviseSink_OnClose_Proxy(IAdviseSink *This)
HRESULT __RPC_STUB IStream_CopyTo_Stub(IStream *This, IStream *pstm, ULARGE_INTEGER cb, ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *pcbWritten)
HRESULT CALLBACK ISequentialStream_Write_Proxy(ISequentialStream *This, const void *pv, ULONG cb, ULONG *pcbWritten)
void WINAPI WdtpInterfacePointer_UserFree(IUnknown *punk)
void __RPC_USER HPALETTE_UserFree(ULONG *pFlags, HPALETTE *phPal)
unsigned char *WINAPI WdtpInterfacePointer_UserMarshal(ULONG *pFlags, ULONG RealFlags, unsigned char *pBuffer, IUnknown *punk, REFIID riid)
HRESULT CALLBACK IViewObject_Draw_Proxy(IViewObject *This, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcTargetDev, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, BOOL(STDMETHODCALLTYPE *pfnContinue)(ULONG_PTR dwContinue), ULONG_PTR dwContinue)
void CALLBACK IAdviseSink_OnSave_Proxy(IAdviseSink *This)
HRESULT __RPC_STUB IBindCtx_SetBindOptions_Stub(IBindCtx *This, BIND_OPTS2 *pbindopts)
HRESULT CALLBACK IDataObject_GetDataHere_Proxy(IDataObject *iface, FORMATETC *fmt, STGMEDIUM *med)
HRESULT __RPC_STUB IAdviseSink2_OnLinkSrcChange_Stub(IAdviseSink2 *This, IMoniker *pmk)
ULONG __RPC_USER CLIPFORMAT_UserSize(ULONG *pFlags, ULONG size, CLIPFORMAT *pCF)
HRESULT CALLBACK IBindCtx_SetBindOptions_Proxy(IBindCtx *This, BIND_OPTS *pbindopts)
void CALLBACK IAdviseSink2_OnLinkSrcChange_Proxy(IAdviseSink2 *This, IMoniker *pmk)
#define USER_MARSHAL_PTR_PREFIX
static const char * debugstr_user_flags(ULONG *pFlags)
HRESULT CALLBACK IViewObject_Freeze_Proxy(IViewObject *This, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DWORD *pdwFreeze)
HRESULT CALLBACK IOleCache2_UpdateCache_Proxy(IOleCache2 *This, LPDATAOBJECT pDataObject, DWORD grfUpdf, LPVOID pReserved)
ULONG __RPC_USER HBITMAP_UserSize(ULONG *flags, ULONG size, HBITMAP *bmp)
static void handle_UserFree(ULONG *pFlags, HANDLE *handle)
unsigned char *__RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, ASYNC_STGMEDIUM *pStgMedium)
HRESULT __RPC_STUB ISequentialStream_Read_Stub(ISequentialStream *This, byte *pv, ULONG cb, ULONG *pcbRead)
unsigned char *__RPC_USER HMETAFILE_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, HMETAFILE *phmf)
void __RPC_USER ASYNC_STGMEDIUM_UserFree(ULONG *pFlags, ASYNC_STGMEDIUM *pStgMedium)
ULONG __RPC_USER FLAG_STGMEDIUM_UserSize(ULONG *pFlags, ULONG StartingSize, FLAG_STGMEDIUM *pStgMedium)
HRESULT CALLBACK IEnumFORMATETC_Next_Proxy(IEnumFORMATETC *This, ULONG celt, FORMATETC *rgelt, ULONG *pceltFetched)
HRESULT CALLBACK IDataObject_SetData_Proxy(IDataObject *This, FORMATETC *pformatetc, STGMEDIUM *pmedium, BOOL fRelease)
unsigned char *__RPC_USER HGLOBAL_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, HGLOBAL *phGlobal)
HRESULT CALLBACK IEnumMoniker_Next_Proxy(IEnumMoniker *This, ULONG celt, IMoniker **rgelt, ULONG *pceltFetched)
HRESULT __RPC_STUB IDataObject_SetData_Stub(IDataObject *This, FORMATETC *pformatetc, FLAG_STGMEDIUM *pmedium, BOOL fRelease)
unsigned char *__RPC_USER HPALETTE_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, HPALETTE *phPal)
HRESULT CALLBACK IViewObject_GetAdvise_Proxy(IViewObject *This, DWORD *pAspects, DWORD *pAdvf, IAdviseSink **ppAdvSink)
HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(IClassFactory *This, IUnknown *pUnkOuter, REFIID riid, void **ppvObject)
unsigned char *__RPC_USER STGMEDIUM_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, STGMEDIUM *pStgMedium)
unsigned char *__RPC_USER SNB_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, SNB *pSnb)
ULONG __RPC_USER ASYNC_STGMEDIUM_UserSize(ULONG *pFlags, ULONG StartingSize, ASYNC_STGMEDIUM *pStgMedium)
BOOL CALLBACK IRunnableObject_IsRunning_Proxy(IRunnableObject *This)
HRESULT CALLBACK IOleInPlaceActiveObject_ResizeBorder_Proxy(IOleInPlaceActiveObject *This, LPCRECT prcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL fFrameWindow)
unsigned char *__RPC_USER HENHMETAFILE_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, HENHMETAFILE *phEmf)
HRESULT CALLBACK IMoniker_BindToObject_Proxy(IMoniker *This, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riidResult, void **ppvResult)
HRESULT __RPC_STUB IStream_Seek_Stub(IStream *This, LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition)
HRESULT __RPC_STUB IOleCache2_UpdateCache_Stub(IOleCache2 *This, LPDATAOBJECT pDataObject, DWORD grfUpdf, LONG_PTR pReserved)
ULONG __RPC_USER HPALETTE_UserSize(ULONG *pFlags, ULONG StartingSize, HPALETTE *phPal)
HRESULT __RPC_STUB IViewObject_GetColorSet_Stub(IViewObject *This, DWORD dwDrawAspect, LONG lindex, ULONG_PTR pvAspect, DVTARGETDEVICE *ptd, ULONG_PTR hicTargetDev, LOGPALETTE **ppColorSet)
HRESULT __RPC_STUB IOleInPlaceActiveObject_ResizeBorder_Stub(IOleInPlaceActiveObject *This, LPCRECT prcBorder, REFIID riid, IOleInPlaceUIWindow *pUIWindow, BOOL fFrameWindow)
unsigned char *__RPC_USER HBITMAP_UserMarshal(ULONG *flags, unsigned char *buffer, HBITMAP *bmp)
void __RPC_USER STGMEDIUM_UserFree(ULONG *flags, STGMEDIUM *med)
unsigned char *__RPC_USER HMETAFILEPICT_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, HMETAFILEPICT *phMfp)
HRESULT CALLBACK IStream_CopyTo_Proxy(IStream *This, IStream *pstm, ULARGE_INTEGER cb, ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *pcbWritten)
HRESULT CALLBACK ISequentialStream_Read_Proxy(ISequentialStream *This, void *pv, ULONG cb, ULONG *pcbRead)
HRESULT __RPC_STUB IEnumOLEVERB_Next_Stub(IEnumOLEVERB *This, ULONG celt, LPOLEVERB rgelt, ULONG *pceltFetched)
HRESULT __RPC_STUB IClassFactory_LockServer_Stub(IClassFactory *This, BOOL fLock)
HRESULT __RPC_STUB IAdviseSink_OnClose_Stub(IAdviseSink *This)
HRESULT __RPC_STUB IMoniker_BindToObject_Stub(IMoniker *This, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riidResult, IUnknown **ppvResult)
HRESULT CALLBACK IClassFactory_LockServer_Proxy(IClassFactory *This, BOOL fLock)
static unsigned char * handle_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, HANDLE *handle)
ULONG __RPC_USER HENHMETAFILE_UserSize(ULONG *pFlags, ULONG size, HENHMETAFILE *phEmf)
void __RPC_USER HMETAFILEPICT_UserFree(ULONG *pFlags, HMETAFILEPICT *phMfp)
HRESULT CALLBACK IEnumSTATDATA_Next_Proxy(IEnumSTATDATA *This, ULONG celt, STATDATA *rgelt, ULONG *pceltFetched)
void __RPC_USER FLAG_STGMEDIUM_UserFree(ULONG *pFlags, FLAG_STGMEDIUM *pStgMedium)
HRESULT CALLBACK IEnumString_Next_Proxy(IEnumString *This, ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched)
unsigned char *__RPC_USER HENHMETAFILE_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, HENHMETAFILE *phEmf)
ULONG __RPC_USER HGLOBAL_UserSize(ULONG *pFlags, ULONG StartingSize, HGLOBAL *phGlobal)
HRESULT __RPC_STUB IAdviseSink_OnRename_Stub(IAdviseSink *This, IMoniker *pmk)
HRESULT __RPC_STUB IViewObject_GetAdvise_Stub(IViewObject *This, DWORD *pAspects, DWORD *pAdvf, IAdviseSink **ppAdvSink)
HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(IClassFactory *This, REFIID riid, IUnknown **ppvObject)
HRESULT __RPC_STUB IViewObject_Freeze_Stub(IViewObject *This, DWORD dwDrawAspect, LONG lindex, ULONG_PTR pvAspect, DWORD *pdwFreeze)
unsigned char *__RPC_USER ASYNC_STGMEDIUM_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, ASYNC_STGMEDIUM *pStgMedium)
unsigned char *__RPC_USER HBITMAP_UserUnmarshal(ULONG *flags, unsigned char *buffer, HBITMAP *bmp)
HRESULT CALLBACK IStream_Seek_Proxy(IStream *This, LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition)
HRESULT CALLBACK IStorage_EnumElements_Proxy(IStorage *This, DWORD reserved1, void *reserved2, DWORD reserved3, IEnumSTATSTG **ppenum)
void CALLBACK IAdviseSink_OnDataChange_Proxy(IAdviseSink *This, FORMATETC *pFormatetc, STGMEDIUM *pStgmed)
HRESULT __RPC_STUB IFillLockBytes_FillAt_Stub(IFillLockBytes *This, ULARGE_INTEGER ulOffset, const byte *pv, ULONG cb, ULONG *pcbWritten)
ULONG __RPC_USER SNB_UserSize(ULONG *pFlags, ULONG StartingSize, SNB *pSnb)
HRESULT CALLBACK IEnumSTATSTG_Next_Proxy(IEnumSTATSTG *This, ULONG celt, STATSTG *rgelt, ULONG *pceltFetched)
static unsigned char * handle_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, HANDLE *handle)
ULONG __RPC_USER STGMEDIUM_UserSize(ULONG *pFlags, ULONG StartingSize, STGMEDIUM *pStgMedium)
HRESULT CALLBACK IViewObject_GetColorSet_Proxy(IViewObject *This, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hicTargetDev, LOGPALETTE **ppColorSet)
unsigned char *__RPC_USER FLAG_STGMEDIUM_UserMarshal(ULONG *pFlags, unsigned char *pBuffer, FLAG_STGMEDIUM *pStgMedium)
void __RPC_USER CLIPFORMAT_UserFree(ULONG *pFlags, CLIPFORMAT *pCF)
HRESULT __RPC_STUB IMoniker_BindToStorage_Stub(IMoniker *This, IBindCtx *pbc, IMoniker *pmkToLeft, REFIID riid, IUnknown **ppvObj)
unsigned char *WINAPI WdtpInterfacePointer_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, IUnknown **ppunk, REFIID riid)
HRESULT CALLBACK IBindCtx_GetBindOptions_Proxy(IBindCtx *This, BIND_OPTS *pbindopts)
void CALLBACK IAdviseSink_OnViewChange_Proxy(IAdviseSink *This, DWORD dwAspect, LONG lindex)
HRESULT __RPC_STUB IEnumUnknown_Next_Stub(IEnumUnknown *This, ULONG celt, IUnknown **rgelt, ULONG *pceltFetched)
HRESULT __RPC_STUB IAdviseSink_OnViewChange_Stub(IAdviseSink *This, DWORD dwAspect, LONG lindex)
unsigned char *__RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, CLIPFORMAT *pCF)
unsigned char *__RPC_USER HPALETTE_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, HPALETTE *phPal)
unsigned char *__RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, FLAG_STGMEDIUM *pStgMedium)
HRESULT CALLBACK IStorage_OpenStream_Proxy(IStorage *This, LPCOLESTR pwcsName, void *reserved1, DWORD grfMode, DWORD reserved2, IStream **ppstm)
HRESULT __RPC_STUB IViewObject_Draw_Stub(IViewObject *This, DWORD dwDrawAspect, LONG lindex, ULONG_PTR pvAspect, DVTARGETDEVICE *ptd, ULONG_PTR hdcTargetDev, ULONG_PTR hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, IContinue *pContinue)
void __RPC_USER SNB_UserFree(ULONG *pFlags, SNB *pSnb)
unsigned char *__RPC_USER HGLOBAL_UserUnmarshal(ULONG *pFlags, unsigned char *pBuffer, HGLOBAL *phGlobal)
void __RPC_USER HGLOBAL_UserFree(ULONG *pFlags, HGLOBAL *phGlobal)
ULONG __RPC_USER WdtpInterfacePointer_UserSize(ULONG *pFlags, ULONG RealFlags, ULONG StartingSize, IUnknown *punk, REFIID riid)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
GLenum GLuint GLenum GLsizei const GLchar * buf
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
GLfloat GLfloat GLfloat GLfloat h
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
LPVOID NTAPI GlobalLock(HGLOBAL hMem)
HGLOBAL NTAPI GlobalFree(HGLOBAL hMem)
BOOL NTAPI GlobalUnlock(HGLOBAL hMem)
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
SIZE_T NTAPI GlobalSize(HGLOBAL hMem)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
#define memcpy(s1, s2, n)
#define sprintf(buf, format,...)
static HMODULE MODULEINFO DWORD cb
static char memory[1024 *256]
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
interface IDataObject * LPDATAOBJECT
#define NDR_LOCAL_DATA_REPRESENTATION
#define RPC_X_INVALID_TAG
void DECLSPEC_NORETURN WINAPI RpcRaiseException(RPC_STATUS exception)
PMIDL_STUB_MESSAGE pStubMsg
#define FIELD_OFFSET(t, f)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define RPC_S_INVALID_BOUND
#define RPC_S_INVALID_TAG
#define RPC_X_BAD_STUB_DATA
#define CLASS_E_NOAGGREGATION
BOOL WINAPI DeleteMetaFile(_In_ HMETAFILE)
UINT WINAPI GetEnhMetaFileBits(_In_ HENHMETAFILE hEMF, _In_ UINT nSize, _Out_writes_bytes_opt_(nSize) LPBYTE lpData)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
BOOL WINAPI DeleteEnhMetaFile(_In_opt_ HENHMETAFILE)
HBITMAP WINAPI CreateBitmapIndirect(_In_ const BITMAP *pbm)
UINT WINAPI GetMetaFileBitsEx(_In_ HMETAFILE hMF, _In_ UINT cbBuffer, _Out_writes_bytes_opt_(cbBuffer) LPVOID lpData)
LONG WINAPI GetBitmapBits(_In_ HBITMAP hbit, _In_ LONG cb, _Out_writes_bytes_(cb) LPVOID lpvBits)
HMETAFILE WINAPI SetMetaFileBitsEx(_In_ UINT cbBuffer, _In_reads_bytes_(cbBuffer) CONST BYTE *lpData)
HENHMETAFILE WINAPI SetEnhMetaFileBits(_In_ UINT nSize, _In_reads_bytes_(nSize) const BYTE *pb)
UINT WINAPI RegisterClipboardFormatW(_In_ LPCWSTR)
int WINAPI GetClipboardFormatNameW(_In_ UINT format, _Out_writes_(cchMaxCount) LPWSTR lpszFormatName, _In_ int cchMaxCount)