ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <math.h>
#include <windows.h>
#include <ocidl.h>
#include <stdio.h>
#include "wine/test.h"
#include "tmarshal.h"
Go to the source code of this file.
Classes | |
struct | host_object_data |
struct | disp_obj |
struct | coclass_obj |
struct | Widget |
struct | KindaEnum |
Macros | |
#define | COBJMACROS |
#define | CONST_VTABLE |
#define | ok_ole_success(hr, func) ok(hr == S_OK, #func " failed with error 0x%08x\n", hr) |
#define | release_iface(a) release_iface_(__LINE__, a) |
#define | ULL_CONST(dw1, dw2) ((((ULONGLONG)dw1) << 32) | (ULONGLONG)dw2) |
#define | RELEASEMARSHALDATA WM_USER |
Typedefs | |
typedef struct Widget | Widget |
typedef struct KindaEnum | KindaEnum |
Variables | |
static | LPVARIANT |
static const WCHAR | test_bstr1 [] = {'f','o','o',0,'b','a','r'} |
static const WCHAR | test_bstr2 [] = {'t','e','s','t',0} |
static const WCHAR | test_bstr3 [] = {'q','u','x',0} |
static const WCHAR | test_bstr4 [] = {'a','b','c',0} |
static const MYSTRUCT | test_mystruct1 = {0x12345678, ULL_CONST(0xdeadbeef, 0x98765432), {0,1,2,3,4,5,6,7}} |
static const MYSTRUCT | test_mystruct2 = {0x91827364, ULL_CONST(0x88776655, 0x44332211), {3,6,1,4,0,1,3,0}} |
static const MYSTRUCT | test_mystruct3 = {0x1a1b1c1d, ULL_CONST(0x1e1f1011, 0x12131415), {9,2,4,5,6,5,1,3}} |
static const MYSTRUCT | test_mystruct4 = {0x2a2b2c2d, ULL_CONST(0x2e2f2021, 0x22232425), {0,4,6,7,3,6,7,4}} |
static const MYSTRUCT | test_mystruct5 = {0x3a3b3c3d, ULL_CONST(0x3e3f3031, 0x32333435), {1,6,7,3,8,4,6,5}} |
static const MYSTRUCT | test_mystruct6 = {0x4a4b4c4d, ULL_CONST(0x4e4f4041, 0x42434445), {3,6,5,3,4,8,0,9}} |
static const MYSTRUCT | test_mystruct7 = {0x5a5b5c5d, ULL_CONST(0x5e5f5051, 0x52535455), {1,8,4,4,4,2,3,1}} |
static const struct thin | test_thin_struct = {-456, 78} |
static const RECT | test_rect1 = {1,2,3,4} |
static const RECT | test_rect2 = {5,6,7,8} |
static const RECT | test_rect3 = {9,10,11,12} |
static const RECT | test_rect4 = {13,14,15,16} |
static const RECT | test_rect5 = {17,18,19,20} |
static const RECT | test_rect6 = {21,22,23,24} |
static const RECT | test_rect7 = {25,26,27,28} |
static const array_t | test_array1 = {1,2,3,4} |
static const array_t | test_array2 = {5,6,7,8} |
static const array_t | test_array3 = {9,10,11,12} |
static const array_t | test_array4 = {13,14,15,16} |
static const array_t | test_array5 = {17,18,19,20} |
static const array_t | test_array6 = {21,22,23,24} |
static int | external_connections |
static BOOL | expect_last_release_closes |
static const IExternalConnectionVtbl | ExternalConnectionVtbl |
static IExternalConnection | ExternalConnection = { &ExternalConnectionVtbl } |
static ItestDual | TestDual = { &TestDualVtbl } |
static ItestDual | TestDualDisp = { &TestDualVtbl } |
static const ITestSecondIfaceVtbl | TestSecondIfaceVtbl |
static ITestSecondIface | TestSecondIface = { &TestSecondIfaceVtbl } |
static ITestSecondDispVtbl | TestSecondDispVtbl |
static ITestSecondDisp | TestSecondDisp = { &TestSecondDispVtbl } |
static ItestDualVtbl | TestDualVtbl |
static const ISomethingFromDispatchVtbl | disp_obj_vtbl |
static const ICoclass1Vtbl | coclass1_vtbl |
static const ICoclass2Vtbl | coclass2_vtbl |
static int | testmode |
static const struct IWidgetVtbl | Widget_VTable |
static const IStaticWidgetVtbl | StaticWidgetVtbl |
static IStaticWidget | StaticWidget = { &StaticWidgetVtbl } |
static const IKindaEnumWidgetVtbl | KindaEnumWidget_VTable |
static INonOleAutomationVtbl | NonOleAutomation_VTable |
static INonOleAutomation | NonOleAutomation = { &NonOleAutomation_VTable } |
#define COBJMACROS |
Definition at line 22 of file tmarshal.c.
#define CONST_VTABLE |
Definition at line 23 of file tmarshal.c.
Definition at line 36 of file tmarshal.c.
#define release_iface | ( | a | ) | release_iface_(__LINE__, a) |
Definition at line 43 of file tmarshal.c.
Definition at line 78 of file tmarshal.c.
Definition at line 46 of file tmarshal.c.
|
static |
Definition at line 1212 of file tmarshal.c.
Referenced by test_marshal_iface(), and Widget_iface_in().
Definition at line 1367 of file tmarshal.c.
Referenced by test_marshal_safearray(), and Widget_safearray().
Definition at line 532 of file tmarshal.c.
|
static |
Definition at line 560 of file tmarshal.c.
|
static |
Definition at line 553 of file tmarshal.c.
Definition at line 547 of file tmarshal.c.
|
static |
Definition at line 567 of file tmarshal.c.
Definition at line 509 of file tmarshal.c.
Definition at line 538 of file tmarshal.c.
Definition at line 574 of file tmarshal.c.
Definition at line 585 of file tmarshal.c.
|
static |
Definition at line 610 of file tmarshal.c.
|
static |
Definition at line 603 of file tmarshal.c.
Definition at line 597 of file tmarshal.c.
|
static |
Definition at line 617 of file tmarshal.c.
Definition at line 579 of file tmarshal.c.
Definition at line 591 of file tmarshal.c.
Definition at line 624 of file tmarshal.c.
|
static |
Definition at line 653 of file tmarshal.c.
Referenced by test_marshal_coclass(), and Widget_Coclass_ptr().
|
static |
Definition at line 484 of file tmarshal.c.
Referenced by test_marshal_dispinterface(), test_marshal_iface(), test_marshal_struct(), Widget_iface_out(), Widget_iface_ptr(), and Widget_variant_array().
Definition at line 425 of file tmarshal.c.
Definition at line 467 of file tmarshal.c.
|
static |
Definition at line 453 of file tmarshal.c.
|
static |
Definition at line 446 of file tmarshal.c.
|
static |
Definition at line 440 of file tmarshal.c.
|
static |
Definition at line 460 of file tmarshal.c.
|
static |
Definition at line 410 of file tmarshal.c.
Definition at line 431 of file tmarshal.c.
Definition at line 172 of file tmarshal.c.
Referenced by test_external_connection(), test_marshal_dispinterface(), and test_typelibmarshal().
|
static |
Definition at line 201 of file tmarshal.c.
|
static |
Definition at line 191 of file tmarshal.c.
|
static |
Definition at line 184 of file tmarshal.c.
|
static |
Definition at line 196 of file tmarshal.c.
|
static |
Definition at line 210 of file tmarshal.c.
Definition at line 1743 of file tmarshal.c.
Referenced by test_StaticWidget(), and Widget_Create().
Definition at line 90 of file tmarshal.c.
Referenced by start_host_object2().
|
inlinestatic |
Definition at line 499 of file tmarshal.c.
Referenced by coclass1_AddRef(), coclass1_QueryInterface(), and coclass1_Release().
|
inlinestatic |
Definition at line 504 of file tmarshal.c.
Referenced by coclass2_AddRef(), coclass2_QueryInterface(), and coclass2_Release().
|
inlinestatic |
Definition at line 1719 of file tmarshal.c.
Referenced by KindaEnum_AddRef(), and KindaEnum_Release().
|
inlinestatic |
Definition at line 405 of file tmarshal.c.
Referenced by disp_obj_AddRef(), and disp_obj_Release().
|
inlinestatic |
Definition at line 671 of file tmarshal.c.
Referenced by Widget_AddRef(), Widget_GetIDsOfNames(), Widget_GetTypeInfo(), Widget_GetTypeInfoCount(), Widget_Invoke(), and Widget_Release().
Definition at line 1810 of file tmarshal.c.
|
static |
Definition at line 1857 of file tmarshal.c.
Definition at line 1844 of file tmarshal.c.
|
static |
Definition at line 1833 of file tmarshal.c.
|
static |
Definition at line 1792 of file tmarshal.c.
Definition at line 1818 of file tmarshal.c.
Definition at line 1851 of file tmarshal.c.
|
static |
Definition at line 1875 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 1354 of file tmarshal.c.
Referenced by test_marshal_safearray(), and Widget_safearray().
Definition at line 1897 of file tmarshal.c.
Definition at line 1907 of file tmarshal.c.
Definition at line 1913 of file tmarshal.c.
Definition at line 1929 of file tmarshal.c.
Referenced by test_typelibmarshal().
|
static |
Definition at line 1886 of file tmarshal.c.
Definition at line 1902 of file tmarshal.c.
Definition at line 1724 of file tmarshal.c.
Referenced by START_TEST().
Definition at line 37 of file tmarshal.c.
|
static |
Definition at line 155 of file tmarshal.c.
Referenced by test_external_connection(), test_marshal_dispinterface(), and test_typelibmarshal().
|
static |
Definition at line 133 of file tmarshal.c.
Referenced by start_host_object().
START_TEST | ( | tmarshal | ) |
Definition at line 3680 of file tmarshal.c.
Definition at line 1647 of file tmarshal.c.
|
static |
Definition at line 1670 of file tmarshal.c.
|
static |
Definition at line 1663 of file tmarshal.c.
|
static |
Definition at line 1657 of file tmarshal.c.
|
static |
Definition at line 1677 of file tmarshal.c.
|
static |
Definition at line 1634 of file tmarshal.c.
Definition at line 1652 of file tmarshal.c.
Definition at line 1685 of file tmarshal.c.
|
static |
Definition at line 1692 of file tmarshal.c.
Definition at line 3437 of file tmarshal.c.
Referenced by START_TEST().
Definition at line 3532 of file tmarshal.c.
Referenced by START_TEST().
Definition at line 3509 of file tmarshal.c.
Referenced by START_TEST().
Definition at line 2581 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 1945 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 2394 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 2632 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 3649 of file tmarshal.c.
Referenced by START_TEST().
Definition at line 2156 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 2042 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 2498 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 2522 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 2446 of file tmarshal.c.
Referenced by test_typelibmarshal().
Definition at line 3467 of file tmarshal.c.
Referenced by START_TEST().
Definition at line 2828 of file tmarshal.c.