/* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include <stdint.h>

#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"

#include "cxx.h"

#include "vrclient_defs.h"

#include "vrclient_private.h"

#include "struct_converters.h"

#include "flatapi.h"

WINE_DEFAULT_DEBUG_CHANNEL(vrclient);

#include "cppIVRControlPanel_IVRControlPanel_006.h"

typedef struct __winIVRControlPanel_IVRControlPanel_006 {
    vtable_ptr *vtable;
    void *linux_side;
} winIVRControlPanel_IVRControlPanel_006;

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc1, 4)
uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc1(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc1(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc2, 16)
uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc2(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a, char * b, uint32_t c)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc2(_this->linux_side, a, b, c);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc3, 8)
EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc3(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc3(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc4, 8)
uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc4(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc4(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc5, 20)
uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc5(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a, uint32_t b, char * c, uint32_t d)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc5(_this->linux_side, a, b, c, d);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc6, 20)
uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc6(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a, const char * b, char * c, uint32_t d)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc6(_this->linux_side, a, b, c, d);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc7, 20)
uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc7(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a, const char * b, char * c, uint32_t d)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc7(_this->linux_side, a, b, c, d);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc8, 8)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc8(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc8(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc9, 4)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc9(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc9(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc10, 4)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc10(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc10(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc11, 8)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc11(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc11(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc12, 4)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc12(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc12(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc13, 8)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc13(winIVRControlPanel_IVRControlPanel_006 *_this, TrackedDeviceIndex_t a)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc13(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc14, 8)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc14(winIVRControlPanel_IVRControlPanel_006 *_this, EVRState a)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc14(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc15, 4)
EVRState __thiscall winIVRControlPanel_IVRControlPanel_006_undoc15(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc15(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc16, 5)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc16(winIVRControlPanel_IVRControlPanel_006 *_this, bool a)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc16(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc17, 4)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc17(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc17(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc18, 4)
EVRApplicationError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc18(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc18(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc19, 5)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc19(winIVRControlPanel_IVRControlPanel_006 *_this, bool a)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc19(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc20, 4)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc20(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc20(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc21, 4)
EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc21(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc21(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc22, 28)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc22(winIVRControlPanel_IVRControlPanel_006 *_this, WebConsoleHandle_t a, const char * b, uint32_t c, uint32_t d, const char * e)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc22(_this->linux_side, a, b, c, d, e);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc23, 8)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc23(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a)
{
    char lin_a[PATH_MAX];
    vrclient_dos_path_to_unix_path(a, lin_a);
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc23(_this->linux_side, a ? lin_a : NULL);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc24, 4)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc24(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc24(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc25, 5)
bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc25(winIVRControlPanel_IVRControlPanel_006 *_this, bool a)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc25(_this->linux_side, a);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc26, 4)
uint64_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc26(winIVRControlPanel_IVRControlPanel_006 *_this)
{
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc26(_this->linux_side);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc27, 8)
EVRCompositorError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc27(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a)
{
    char lin_a[PATH_MAX];
    vrclient_dos_path_to_unix_path(a, lin_a);
    TRACE("%p\n", _this);
    return cppIVRControlPanel_IVRControlPanel_006_undoc27(_this->linux_side, a ? lin_a : NULL);
}

DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc28, 12)
void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc28(winIVRControlPanel_IVRControlPanel_006 *_this, VROverlayHandle_t a)
{
    TRACE("%p\n", _this);
    cppIVRControlPanel_IVRControlPanel_006_undoc28(_this->linux_side, a);
}

extern vtable_ptr winIVRControlPanel_IVRControlPanel_006_vtable;

#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
    __ASM_VTABLE(winIVRControlPanel_IVRControlPanel_006,
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc1)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc2)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc3)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc4)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc5)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc6)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc7)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc8)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc9)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc10)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc11)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc12)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc13)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc14)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc15)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc16)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc17)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc18)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc19)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc20)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc21)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc22)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc23)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc24)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc25)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc26)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc27)
        VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc28)
    );
#ifndef __GNUC__
}
#endif

winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPanel_006(void *linux_side)
{
    winIVRControlPanel_IVRControlPanel_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRControlPanel_IVRControlPanel_006));
    TRACE("-> %p\n", r);
    r->vtable = &winIVRControlPanel_IVRControlPanel_006_vtable;
    r->linux_side = linux_side;
    return r;
}

void destroy_winIVRControlPanel_IVRControlPanel_006(void *object)
{
    TRACE("%p\n", object);
    HeapFree(GetProcessHeap(), 0, object);
}

winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *linux_side)
{
    winIVRControlPanel_IVRControlPanel_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRControlPanel_IVRControlPanel_006));
    struct thunk *thunks = alloc_thunks(28);
    struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable));
    int i;

    TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
    init_thunk(&thunks[0], r, winIVRControlPanel_IVRControlPanel_006_undoc1, 0, FALSE, FALSE);
    init_thunk(&thunks[1], r, winIVRControlPanel_IVRControlPanel_006_undoc2, 3, FALSE, FALSE);
    init_thunk(&thunks[2], r, winIVRControlPanel_IVRControlPanel_006_undoc3, 1, FALSE, FALSE);
    init_thunk(&thunks[3], r, winIVRControlPanel_IVRControlPanel_006_undoc4, 1, FALSE, FALSE);
    init_thunk(&thunks[4], r, winIVRControlPanel_IVRControlPanel_006_undoc5, 4, FALSE, FALSE);
    init_thunk(&thunks[5], r, winIVRControlPanel_IVRControlPanel_006_undoc6, 4, FALSE, FALSE);
    init_thunk(&thunks[6], r, winIVRControlPanel_IVRControlPanel_006_undoc7, 4, FALSE, FALSE);
    init_thunk(&thunks[7], r, winIVRControlPanel_IVRControlPanel_006_undoc8, 1, FALSE, FALSE);
    init_thunk(&thunks[8], r, winIVRControlPanel_IVRControlPanel_006_undoc9, 0, FALSE, FALSE);
    init_thunk(&thunks[9], r, winIVRControlPanel_IVRControlPanel_006_undoc10, 0, FALSE, FALSE);
    init_thunk(&thunks[10], r, winIVRControlPanel_IVRControlPanel_006_undoc11, 1, FALSE, FALSE);
    init_thunk(&thunks[11], r, winIVRControlPanel_IVRControlPanel_006_undoc12, 0, FALSE, FALSE);
    init_thunk(&thunks[12], r, winIVRControlPanel_IVRControlPanel_006_undoc13, 1, FALSE, FALSE);
    init_thunk(&thunks[13], r, winIVRControlPanel_IVRControlPanel_006_undoc14, 1, FALSE, FALSE);
    init_thunk(&thunks[14], r, winIVRControlPanel_IVRControlPanel_006_undoc15, 0, FALSE, FALSE);
    init_thunk(&thunks[15], r, winIVRControlPanel_IVRControlPanel_006_undoc16, 1, FALSE, FALSE);
    init_thunk(&thunks[16], r, winIVRControlPanel_IVRControlPanel_006_undoc17, 0, FALSE, FALSE);
    init_thunk(&thunks[17], r, winIVRControlPanel_IVRControlPanel_006_undoc18, 0, FALSE, FALSE);
    init_thunk(&thunks[18], r, winIVRControlPanel_IVRControlPanel_006_undoc19, 1, FALSE, FALSE);
    init_thunk(&thunks[19], r, winIVRControlPanel_IVRControlPanel_006_undoc20, 0, FALSE, FALSE);
    init_thunk(&thunks[20], r, winIVRControlPanel_IVRControlPanel_006_undoc21, 0, FALSE, FALSE);
    init_thunk(&thunks[21], r, winIVRControlPanel_IVRControlPanel_006_undoc22, 5, FALSE, FALSE);
    init_thunk(&thunks[22], r, winIVRControlPanel_IVRControlPanel_006_undoc23, 1, FALSE, FALSE);
    init_thunk(&thunks[23], r, winIVRControlPanel_IVRControlPanel_006_undoc24, 0, FALSE, FALSE);
    init_thunk(&thunks[24], r, winIVRControlPanel_IVRControlPanel_006_undoc25, 1, FALSE, FALSE);
    init_thunk(&thunks[25], r, winIVRControlPanel_IVRControlPanel_006_undoc26, 0, FALSE, FALSE);
    init_thunk(&thunks[26], r, winIVRControlPanel_IVRControlPanel_006_undoc27, 1, FALSE, FALSE);
    init_thunk(&thunks[27], r, winIVRControlPanel_IVRControlPanel_006_undoc28, 1, FALSE, FALSE);
    for (i = 0; i < 28; i++)
        vtable[i] = &thunks[i];
    r->linux_side = linux_side;
    r->vtable = (void *)vtable;
    return r;
}

void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *object)
{
    winIVRControlPanel_IVRControlPanel_006 *win_object = object;
    TRACE("%p\n", win_object);
    VirtualFree(win_object->vtable[0], 0, MEM_RELEASE);
    HeapFree(GetProcessHeap(), 0, win_object->vtable);
    HeapFree(GetProcessHeap(), 0, win_object);
}

