mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
vrclient: Add support for flat (FnTable) API
This commit is contained in:
committed by
Andrew Eikum
parent
aae498498f
commit
f7510f2a7b
+2
-2
@@ -37,7 +37,7 @@
|
||||
|
||||
#define THISCALL(func) __thiscall_ ## func
|
||||
#define THISCALL_NAME(func) __ASM_NAME("__thiscall_" #func)
|
||||
#define __thiscall __stdcall
|
||||
#define __thiscall __stdcall __attribute__((__force_align_arg_pointer__))
|
||||
#define DEFINE_THISCALL_WRAPPER(func,args) \
|
||||
extern void THISCALL(func)(void); \
|
||||
__ASM_GLOBAL_FUNC(__thiscall_ ## func, \
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
#define THISCALL(func) func
|
||||
#define THISCALL_NAME(func) __ASM_NAME(#func)
|
||||
#define __thiscall __cdecl
|
||||
#define __thiscall __cdecl __attribute__((__force_align_arg_pointer__))
|
||||
#define DEFINE_THISCALL_WRAPPER(func,args) /* nothing */
|
||||
|
||||
#endif /* __i386__ */
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/* asm thunks for the flat (FnTable) API */
|
||||
|
||||
extern void call_flat_method(void);
|
||||
#ifdef __i386__
|
||||
#include "pshpack1.h"
|
||||
struct thunk
|
||||
{
|
||||
BYTE mov_ecx;
|
||||
void *this;
|
||||
BYTE mov_edx;
|
||||
void *proc;
|
||||
BYTE jmp;
|
||||
LONG call_flat;
|
||||
BYTE nop;
|
||||
};
|
||||
#include "poppack.h"
|
||||
|
||||
static inline void init_thunk( struct thunk *thunk, void *this, void *proc )
|
||||
{
|
||||
thunk->mov_ecx = 0xb9;
|
||||
thunk->this = this;
|
||||
thunk->mov_edx = 0xba;
|
||||
thunk->proc = proc;
|
||||
thunk->jmp = 0xe9;
|
||||
thunk->call_flat = (char *)call_flat_method - (char *)(&thunk->call_flat + 1);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include "pshpack1.h"
|
||||
struct thunk
|
||||
{
|
||||
BYTE mov_r10[2];
|
||||
void *this;
|
||||
BYTE mov_r11[2];
|
||||
void *proc;
|
||||
BYTE mov_rax[2];
|
||||
void *call_flat;
|
||||
BYTE jmp_rax[2];
|
||||
};
|
||||
#include "poppack.h"
|
||||
|
||||
static const struct thunk thunk_template =
|
||||
{
|
||||
{ 0x49, 0xba }, 0, /* movq This, %r10 */
|
||||
{ 0x49, 0xbb }, 0, /* movq proc, %r11 */
|
||||
{ 0x48, 0xb8 }, 0, /* movq call_thunk, %rax */
|
||||
{ 0xff, 0xe0 } /* jmp *%rax */
|
||||
};
|
||||
|
||||
static inline void init_thunk( struct thunk *thunk, void *this, void *proc )
|
||||
{
|
||||
*thunk = thunk_template;
|
||||
thunk->this = this;
|
||||
thunk->proc = proc;
|
||||
thunk->call_flat = call_flat_method;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static inline struct thunk *alloc_thunks( unsigned int count )
|
||||
{
|
||||
return VirtualAlloc(NULL, count * sizeof(struct thunk),
|
||||
MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
|
||||
}
|
||||
@@ -422,6 +422,8 @@ def handle_class(sdkver, classnode):
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
""")
|
||||
@@ -446,7 +448,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
winclassname = "win%s_%s" % (classnode.spelling, iface_version)
|
||||
cfile.write("#include \"%s.h\"\n\n" % cppname)
|
||||
cfile.write("typedef struct __%s {\n" % winclassname)
|
||||
cfile.write(" vtable_ptr *vtable;\n")
|
||||
cfile.write(" vtable_ptr *vtable;\n") # make sure to keep this first (flat API depends on it)
|
||||
cfile.write(" void *linux_side;\n")
|
||||
for classname_pattern, user_data_type, _ in method_overrides_data:
|
||||
if classname_pattern in classnode.spelling:
|
||||
@@ -484,17 +486,45 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
break
|
||||
cfile.write(" HeapFree(GetProcessHeap(), 0, object);\n}\n\n")
|
||||
|
||||
# flat (FnTable) API
|
||||
cfile.write("%s *create_%s_FnTable(void *linux_side)\n{\n" % (winclassname, winclassname))
|
||||
cfile.write(" %s *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(%s));\n" % (winclassname, winclassname))
|
||||
cfile.write(" struct thunk *thunks = alloc_thunks(%d);\n" % len(methods))
|
||||
cfile.write(" struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, %d * sizeof(*vtable));\n" % len(methods))
|
||||
cfile.write(" int i;\n\n")
|
||||
cfile.write(" TRACE(\"-> %p, vtable %p, thunks %p\\n\", r, vtable, thunks);\n")
|
||||
for i in range(len(methods)):
|
||||
cfile.write(" init_thunk(&thunks[%d], r, %s_%s);\n" %(i, winclassname, methods[i]))
|
||||
cfile.write(" for (i = 0; i < %d; i++)\n" % len(methods))
|
||||
cfile.write(" vtable[i] = &thunks[i];\n")
|
||||
cfile.write(" r->linux_side = linux_side;\n")
|
||||
cfile.write(" r->vtable = (void *)vtable;\n")
|
||||
cfile.write(" return r;\n}\n\n")
|
||||
cfile.write("void destroy_%s_FnTable(void *object)\n{\n" % winclassname)
|
||||
cfile.write(" %s *win_object = object;\n" % winclassname)
|
||||
cfile.write(" TRACE(\"%p\\n\", win_object);\n")
|
||||
for classname_pattern, user_data_type, user_data_destructor in method_overrides_data:
|
||||
if user_data_destructor and classname_pattern in classnode.spelling:
|
||||
cfile.write(" %s(&win_object->user_data);\n" % user_data_destructor)
|
||||
break
|
||||
cfile.write(" VirtualFree(win_object->vtable[0], 0, MEM_RELEASE);\n")
|
||||
cfile.write(" HeapFree(GetProcessHeap(), 0, win_object->vtable);\n")
|
||||
cfile.write(" HeapFree(GetProcessHeap(), 0, win_object);\n}\n\n")
|
||||
|
||||
cpp.write("#ifdef __cplusplus\n}\n#endif\n")
|
||||
cpp_h.write("#ifdef __cplusplus\n}\n#endif\n")
|
||||
|
||||
constructors = open("win_constructors.h", "a")
|
||||
constructors.write("extern void *create_%s(void *);\n" % winclassname)
|
||||
constructors.write("extern void *create_%s_FnTable(void *);\n" % winclassname)
|
||||
|
||||
destructors = open("win_destructors.h", "a")
|
||||
destructors.write("extern void destroy_%s(void *);\n" % winclassname)
|
||||
destructors.write("extern void destroy_%s_FnTable(void *);\n" % winclassname)
|
||||
|
||||
constructors = open("win_constructors_table.dat", "a")
|
||||
constructors.write(" {\"%s\", &create_%s, &destroy_%s},\n" % (iface_version, winclassname, winclassname))
|
||||
constructors.write(" {\"FnTable:%s\", &create_%s_FnTable, &destroy_%s_FnTable},\n" % (iface_version, winclassname, winclassname))
|
||||
if iface_version in aliases.keys():
|
||||
for alias in aliases[iface_version]:
|
||||
constructors.write(" {\"%s\", &create_%s}, /* alias */\n" % (alias, winclassname))
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
#include "wined3d-interop.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
#include "cppIVRCompositor_IVRCompositor_021.h"
|
||||
#include "cppIVRCompositor_IVRCompositor_022.h"
|
||||
|
||||
@@ -242,6 +244,7 @@ void *ivrclientcore_get_generic_interface(void *(*cpp_func)(void *, const char *
|
||||
void *linux_side, const char *name_and_version, EVRInitError *error,
|
||||
unsigned int version, struct client_core_data *user_data)
|
||||
{
|
||||
const char *cpp_name_and_version = name_and_version;
|
||||
struct generic_interface *iface;
|
||||
pfn_dtor destructor;
|
||||
void *win_object;
|
||||
@@ -249,7 +252,12 @@ void *ivrclientcore_get_generic_interface(void *(*cpp_func)(void *, const char *
|
||||
|
||||
TRACE("%p, %p, %p\n", linux_side, name_and_version, error);
|
||||
|
||||
if (!(object = cpp_func(linux_side, name_and_version, error)))
|
||||
/* In theory we could pass this along, but we'd have to generate a separate
|
||||
* set of thunks for it. Hopefully this will work as it is. */
|
||||
if (name_and_version && !strncmp(name_and_version, "FnTable:", 8))
|
||||
cpp_name_and_version += 8;
|
||||
|
||||
if (!(object = cpp_func(linux_side, cpp_name_and_version, error)))
|
||||
{
|
||||
WARN("Failed to create %s.\n", name_and_version);
|
||||
return NULL;
|
||||
@@ -279,6 +287,8 @@ void *ivrclientcore_get_generic_interface(void *(*cpp_func)(void *, const char *
|
||||
LeaveCriticalSection(&user_data->critical_section);
|
||||
}
|
||||
|
||||
if (name_and_version && !strncmp(name_and_version, "FnTable:", 8))
|
||||
return *((void **)win_object);
|
||||
return win_object;
|
||||
}
|
||||
|
||||
@@ -874,3 +884,30 @@ void destroy_compositor_data(struct compositor_data *data)
|
||||
wined3d_device->lpVtbl->wait_idle(wined3d_device);
|
||||
}
|
||||
}
|
||||
|
||||
/* call_flat_method() definition */
|
||||
#ifdef __i386__
|
||||
asm(".text\n\t"
|
||||
".align 4\n\t"
|
||||
".globl call_flat_method\n\t"
|
||||
".type call_flat_method, @function\n"
|
||||
"call_flat_method:\n\t"
|
||||
"popl %eax\n\t"
|
||||
"pushl %ecx\n\t"
|
||||
"pushl %eax\n\t"
|
||||
"jmp *%edx");
|
||||
#else
|
||||
asm(".text\n\t"
|
||||
".align 4\n\t"
|
||||
".globl call_flat_method\n\t"
|
||||
".type call_flat_method, @function\n"
|
||||
"call_flat_method:\n\t"
|
||||
"popq %rax\n\t" // return address
|
||||
"pushq %r9\n\t"
|
||||
"pushq %rax\n\t"
|
||||
"movq %r8, %r9\n\t" // shift over arguments
|
||||
"movq %rdx, %r8\n\t"
|
||||
"movq %rcx, %rdx\n\t"
|
||||
"movq %r10, %rcx\n\t" // add This pointer
|
||||
"jmp *%r11");
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRApplications_IVRApplications_006.h"
|
||||
@@ -297,6 +299,61 @@ void destroy_winIVRApplications_IVRApplications_006(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRApplications_IVRApplications_006 *create_winIVRApplications_IVRApplications_006_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRApplications_IVRApplications_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_006));
|
||||
struct thunk *thunks = alloc_thunks(31);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 31 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_006_AddApplicationManifest);
|
||||
init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_006_RemoveApplicationManifest);
|
||||
init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_006_IsApplicationInstalled);
|
||||
init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_006_GetApplicationCount);
|
||||
init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex);
|
||||
init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId);
|
||||
init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_006_LaunchApplication);
|
||||
init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_006_LaunchTemplateApplication);
|
||||
init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType);
|
||||
init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_006_LaunchDashboardOverlay);
|
||||
init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_006_CancelApplicationLaunch);
|
||||
init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_006_IdentifyApplication);
|
||||
init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_006_GetApplicationProcessId);
|
||||
init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum);
|
||||
init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyString);
|
||||
init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyBool);
|
||||
init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64);
|
||||
init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType);
|
||||
init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType);
|
||||
init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes);
|
||||
init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType);
|
||||
init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments);
|
||||
init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_006_GetStartingApplication);
|
||||
init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_006_GetTransitionState);
|
||||
init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck);
|
||||
init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum);
|
||||
init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested);
|
||||
init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_006_LaunchInternalProcess);
|
||||
init_thunk(&thunks[30], r, winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId);
|
||||
for (i = 0; i < 31; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRApplications_IVRApplications_006_FnTable(void *object)
|
||||
{
|
||||
winIVRApplications_IVRApplications_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);
|
||||
}
|
||||
|
||||
#include "cppIVRApplications_IVRApplications_005.h"
|
||||
|
||||
typedef struct __winIVRApplications_IVRApplications_005 {
|
||||
@@ -522,6 +579,54 @@ void destroy_winIVRApplications_IVRApplications_005(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005));
|
||||
struct thunk *thunks = alloc_thunks(24);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 24 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_005_AddApplicationManifest);
|
||||
init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_005_RemoveApplicationManifest);
|
||||
init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_005_IsApplicationInstalled);
|
||||
init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_005_GetApplicationCount);
|
||||
init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex);
|
||||
init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId);
|
||||
init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_005_LaunchApplication);
|
||||
init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_005_LaunchTemplateApplication);
|
||||
init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_005_LaunchDashboardOverlay);
|
||||
init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_005_CancelApplicationLaunch);
|
||||
init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_005_IdentifyApplication);
|
||||
init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_005_GetApplicationProcessId);
|
||||
init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum);
|
||||
init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyString);
|
||||
init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyBool);
|
||||
init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64);
|
||||
init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_005_GetStartingApplication);
|
||||
init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_005_GetTransitionState);
|
||||
init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck);
|
||||
init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum);
|
||||
init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested);
|
||||
init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_005_LaunchInternalProcess);
|
||||
for (i = 0; i < 24; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRApplications_IVRApplications_005_FnTable(void *object)
|
||||
{
|
||||
winIVRApplications_IVRApplications_005 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRApplications_IVRApplications_004.h"
|
||||
|
||||
typedef struct __winIVRApplications_IVRApplications_004 {
|
||||
@@ -739,6 +844,53 @@ void destroy_winIVRApplications_IVRApplications_004(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004));
|
||||
struct thunk *thunks = alloc_thunks(23);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 23 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_004_AddApplicationManifest);
|
||||
init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_004_RemoveApplicationManifest);
|
||||
init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_004_IsApplicationInstalled);
|
||||
init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_004_GetApplicationCount);
|
||||
init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex);
|
||||
init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId);
|
||||
init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_004_LaunchApplication);
|
||||
init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_004_LaunchDashboardOverlay);
|
||||
init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_004_CancelApplicationLaunch);
|
||||
init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_004_IdentifyApplication);
|
||||
init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_004_GetApplicationProcessId);
|
||||
init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum);
|
||||
init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyString);
|
||||
init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyBool);
|
||||
init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64);
|
||||
init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_004_GetStartingApplication);
|
||||
init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_004_GetTransitionState);
|
||||
init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck);
|
||||
init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum);
|
||||
init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested);
|
||||
init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_004_LaunchInternalProcess);
|
||||
for (i = 0; i < 23; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRApplications_IVRApplications_004_FnTable(void *object)
|
||||
{
|
||||
winIVRApplications_IVRApplications_004 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRApplications_IVRApplications_003.h"
|
||||
|
||||
typedef struct __winIVRApplications_IVRApplications_003 {
|
||||
@@ -940,6 +1092,51 @@ void destroy_winIVRApplications_IVRApplications_003(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003));
|
||||
struct thunk *thunks = alloc_thunks(21);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_003_AddApplicationManifest);
|
||||
init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_003_RemoveApplicationManifest);
|
||||
init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_003_IsApplicationInstalled);
|
||||
init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_003_GetApplicationCount);
|
||||
init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex);
|
||||
init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId);
|
||||
init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_003_LaunchApplication);
|
||||
init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_003_LaunchDashboardOverlay);
|
||||
init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_003_IdentifyApplication);
|
||||
init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_003_GetApplicationProcessId);
|
||||
init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum);
|
||||
init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyString);
|
||||
init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyBool);
|
||||
init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64);
|
||||
init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_003_GetStartingApplication);
|
||||
init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_003_GetTransitionState);
|
||||
init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck);
|
||||
init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum);
|
||||
init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested);
|
||||
for (i = 0; i < 21; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRApplications_IVRApplications_003_FnTable(void *object)
|
||||
{
|
||||
winIVRApplications_IVRApplications_003 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRApplications_IVRApplications_002.h"
|
||||
|
||||
typedef struct __winIVRApplications_IVRApplications_002 {
|
||||
@@ -1133,6 +1330,50 @@ void destroy_winIVRApplications_IVRApplications_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002));
|
||||
struct thunk *thunks = alloc_thunks(20);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_002_AddApplicationManifest);
|
||||
init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_002_RemoveApplicationManifest);
|
||||
init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_002_IsApplicationInstalled);
|
||||
init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_002_GetApplicationCount);
|
||||
init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex);
|
||||
init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId);
|
||||
init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_002_LaunchApplication);
|
||||
init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_002_LaunchDashboardOverlay);
|
||||
init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_002_IdentifyApplication);
|
||||
init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_002_GetApplicationProcessId);
|
||||
init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum);
|
||||
init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyString);
|
||||
init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyBool);
|
||||
init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_002_GetStartingApplication);
|
||||
init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_002_GetTransitionState);
|
||||
init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck);
|
||||
init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum);
|
||||
init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested);
|
||||
for (i = 0; i < 20; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRApplications_IVRApplications_002_FnTable(void *object)
|
||||
{
|
||||
winIVRApplications_IVRApplications_002 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRApplications_IVRApplications_001.h"
|
||||
|
||||
typedef struct __winIVRApplications_IVRApplications_001 {
|
||||
@@ -1334,3 +1575,48 @@ void destroy_winIVRApplications_IVRApplications_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001));
|
||||
struct thunk *thunks = alloc_thunks(21);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 21 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_001_AddApplicationManifest);
|
||||
init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_001_RemoveApplicationManifest);
|
||||
init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_001_IsApplicationInstalled);
|
||||
init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_001_GetApplicationCount);
|
||||
init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex);
|
||||
init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId);
|
||||
init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_001_LaunchApplication);
|
||||
init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_001_LaunchDashboardOverlay);
|
||||
init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_001_IdentifyApplication);
|
||||
init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_001_GetApplicationProcessId);
|
||||
init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum);
|
||||
init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyString);
|
||||
init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyBool);
|
||||
init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_001_GetHomeApplication);
|
||||
init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_001_SetHomeApplication);
|
||||
init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch);
|
||||
init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_001_GetStartingApplication);
|
||||
init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_001_GetTransitionState);
|
||||
init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck);
|
||||
init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum);
|
||||
for (i = 0; i < 21; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRApplications_IVRApplications_001_FnTable(void *object)
|
||||
{
|
||||
winIVRApplications_IVRApplications_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRChaperone_IVRChaperone_003.h"
|
||||
@@ -113,6 +115,38 @@ void destroy_winIVRChaperone_IVRChaperone_003(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003));
|
||||
struct thunk *thunks = alloc_thunks(8);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_003_GetCalibrationState);
|
||||
init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaSize);
|
||||
init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaRect);
|
||||
init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_003_ReloadInfo);
|
||||
init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_003_SetSceneColor);
|
||||
init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_003_GetBoundsColor);
|
||||
init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_003_AreBoundsVisible);
|
||||
init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible);
|
||||
for (i = 0; i < 8; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *object)
|
||||
{
|
||||
winIVRChaperone_IVRChaperone_003 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRChaperone_IVRChaperone_002.h"
|
||||
|
||||
typedef struct __winIVRChaperone_IVRChaperone_002 {
|
||||
@@ -218,3 +252,36 @@ void destroy_winIVRChaperone_IVRChaperone_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRChaperone_IVRChaperone_002 *create_winIVRChaperone_IVRChaperone_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRChaperone_IVRChaperone_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_002));
|
||||
struct thunk *thunks = alloc_thunks(9);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 9 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRChaperone_IVRChaperone_002_GetCalibrationState);
|
||||
init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo);
|
||||
init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo);
|
||||
init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo);
|
||||
init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_002_ReloadInfo);
|
||||
init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_002_SetSceneColor);
|
||||
init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_002_GetBoundsColor);
|
||||
init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_002_AreBoundsVisible);
|
||||
init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_002_ForceBoundsVisible);
|
||||
for (i = 0; i < 9; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRChaperone_IVRChaperone_002_FnTable(void *object)
|
||||
{
|
||||
winIVRChaperone_IVRChaperone_002 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRChaperoneSetup_IVRChaperoneSetup_005.h"
|
||||
@@ -209,6 +211,50 @@ void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRChaperoneSetup_IVRChaperoneSetup_005 *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRChaperoneSetup_IVRChaperoneSetup_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_005));
|
||||
struct thunk *thunks = alloc_thunks(20);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 20 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy);
|
||||
init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy);
|
||||
init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize);
|
||||
init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect);
|
||||
init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo);
|
||||
init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo);
|
||||
init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize);
|
||||
init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo);
|
||||
init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk);
|
||||
init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo);
|
||||
init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo);
|
||||
init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo);
|
||||
init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo);
|
||||
init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer);
|
||||
init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking);
|
||||
for (i = 0; i < 20; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *object)
|
||||
{
|
||||
winIVRChaperoneSetup_IVRChaperoneSetup_005 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h"
|
||||
|
||||
typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_004 {
|
||||
@@ -370,3 +416,43 @@ void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004));
|
||||
struct thunk *thunks = alloc_thunks(16);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 16 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy);
|
||||
init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy);
|
||||
init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize);
|
||||
init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect);
|
||||
init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo);
|
||||
init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo);
|
||||
init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize);
|
||||
init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo);
|
||||
init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk);
|
||||
init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose);
|
||||
init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo);
|
||||
init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo);
|
||||
for (i = 0; i < 16; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *object)
|
||||
{
|
||||
winIVRChaperoneSetup_IVRChaperoneSetup_004 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRClientCore_IVRClientCore_003.h"
|
||||
@@ -106,6 +108,37 @@ void destroy_winIVRClientCore_IVRClientCore_003(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003));
|
||||
struct thunk *thunks = alloc_thunks(7);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRClientCore_IVRClientCore_003_Init);
|
||||
init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_003_Cleanup);
|
||||
init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid);
|
||||
init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_003_GetGenericInterface);
|
||||
init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_003_BIsHmdPresent);
|
||||
init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError);
|
||||
init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_003_GetIDForVRInitError);
|
||||
for (i = 0; i < 7; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *object)
|
||||
{
|
||||
winIVRClientCore_IVRClientCore_003 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRClientCore_IVRClientCore_002.h"
|
||||
|
||||
typedef struct __winIVRClientCore_IVRClientCore_002 {
|
||||
@@ -196,3 +229,34 @@ void destroy_winIVRClientCore_IVRClientCore_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRClientCore_IVRClientCore_002 *create_winIVRClientCore_IVRClientCore_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRClientCore_IVRClientCore_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_002));
|
||||
struct thunk *thunks = alloc_thunks(7);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRClientCore_IVRClientCore_002_Init);
|
||||
init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_002_Cleanup);
|
||||
init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid);
|
||||
init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_002_GetGenericInterface);
|
||||
init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_002_BIsHmdPresent);
|
||||
init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError);
|
||||
init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_002_GetIDForVRInitError);
|
||||
for (i = 0; i < 7; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *object)
|
||||
{
|
||||
winIVRClientCore_IVRClientCore_002 *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);
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRDriverManager_IVRDriverManager_001.h"
|
||||
@@ -65,3 +67,29 @@ void destroy_winIVRDriverManager_IVRDriverManager_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRDriverManager_IVRDriverManager_001 *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRDriverManager_IVRDriverManager_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRDriverManager_IVRDriverManager_001));
|
||||
struct thunk *thunks = alloc_thunks(2);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRDriverManager_IVRDriverManager_001_GetDriverCount);
|
||||
init_thunk(&thunks[1], r, winIVRDriverManager_IVRDriverManager_001_GetDriverName);
|
||||
for (i = 0; i < 2; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(void *object)
|
||||
{
|
||||
winIVRDriverManager_IVRDriverManager_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h"
|
||||
@@ -73,3 +75,30 @@ void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRExtendedDisplay_IVRExtendedDisplay_001 *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRExtendedDisplay_IVRExtendedDisplay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRExtendedDisplay_IVRExtendedDisplay_001));
|
||||
struct thunk *thunks = alloc_thunks(3);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 3 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds);
|
||||
init_thunk(&thunks[1], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport);
|
||||
init_thunk(&thunks[2], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo);
|
||||
for (i = 0; i < 3; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *object)
|
||||
{
|
||||
winIVRExtendedDisplay_IVRExtendedDisplay_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRNotifications_IVRNotifications_002.h"
|
||||
@@ -65,6 +67,32 @@ void destroy_winIVRNotifications_IVRNotifications_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002));
|
||||
struct thunk *thunks = alloc_thunks(2);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRNotifications_IVRNotifications_002_CreateNotification);
|
||||
init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_002_RemoveNotification);
|
||||
for (i = 0; i < 2; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *object)
|
||||
{
|
||||
winIVRNotifications_IVRNotifications_002 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRNotifications_IVRNotifications_001.h"
|
||||
|
||||
typedef struct __winIVRNotifications_IVRNotifications_001 {
|
||||
@@ -122,3 +150,30 @@ void destroy_winIVRNotifications_IVRNotifications_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRNotifications_IVRNotifications_001 *create_winIVRNotifications_IVRNotifications_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRNotifications_IVRNotifications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_001));
|
||||
struct thunk *thunks = alloc_thunks(3);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 3 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRNotifications_IVRNotifications_001_GetErrorString);
|
||||
init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_001_CreateNotification);
|
||||
init_thunk(&thunks[2], r, winIVRNotifications_IVRNotifications_001_DismissNotification);
|
||||
for (i = 0; i < 3; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *object)
|
||||
{
|
||||
winIVRNotifications_IVRNotifications_001 *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);
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRRenderModels_IVRRenderModels_005.h"
|
||||
@@ -193,6 +195,48 @@ void destroy_winIVRRenderModels_IVRRenderModels_005(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005));
|
||||
struct thunk *thunks = alloc_thunks(18);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async);
|
||||
init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_005_FreeRenderModel);
|
||||
init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async);
|
||||
init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_005_FreeTexture);
|
||||
init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async);
|
||||
init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async);
|
||||
init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11);
|
||||
init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelName);
|
||||
init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount);
|
||||
init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_005_GetComponentCount);
|
||||
init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_005_GetComponentName);
|
||||
init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask);
|
||||
init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName);
|
||||
init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_005_GetComponentState);
|
||||
init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent);
|
||||
init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL);
|
||||
init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath);
|
||||
init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum);
|
||||
for (i = 0; i < 18; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *object)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_005 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRRenderModels_IVRRenderModels_004.h"
|
||||
|
||||
typedef struct __winIVRRenderModels_IVRRenderModels_004 {
|
||||
@@ -338,6 +382,44 @@ void destroy_winIVRRenderModels_IVRRenderModels_004(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004));
|
||||
struct thunk *thunks = alloc_thunks(14);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 14 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async);
|
||||
init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_004_FreeRenderModel);
|
||||
init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async);
|
||||
init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_004_FreeTexture);
|
||||
init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async);
|
||||
init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11);
|
||||
init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelName);
|
||||
init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount);
|
||||
init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_004_GetComponentCount);
|
||||
init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_004_GetComponentName);
|
||||
init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask);
|
||||
init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName);
|
||||
init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_004_GetComponentState);
|
||||
init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent);
|
||||
for (i = 0; i < 14; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *object)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_004 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRRenderModels_IVRRenderModels_002.h"
|
||||
|
||||
typedef struct __winIVRRenderModels_IVRRenderModels_002 {
|
||||
@@ -467,6 +549,42 @@ void destroy_winIVRRenderModels_IVRRenderModels_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002));
|
||||
struct thunk *thunks = alloc_thunks(12);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_002_LoadRenderModel);
|
||||
init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_002_FreeRenderModel);
|
||||
init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_002_LoadTexture);
|
||||
init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_002_FreeTexture);
|
||||
init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelName);
|
||||
init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount);
|
||||
init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_002_GetComponentCount);
|
||||
init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_002_GetComponentName);
|
||||
init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask);
|
||||
init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName);
|
||||
init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_002_GetComponentState);
|
||||
init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent);
|
||||
for (i = 0; i < 12; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *object)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_002 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRRenderModels_IVRRenderModels_001.h"
|
||||
|
||||
typedef struct __winIVRRenderModels_IVRRenderModels_001 {
|
||||
@@ -532,3 +650,31 @@ void destroy_winIVRRenderModels_IVRRenderModels_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001));
|
||||
struct thunk *thunks = alloc_thunks(4);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 4 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_001_LoadRenderModel);
|
||||
init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_001_FreeRenderModel);
|
||||
init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelName);
|
||||
init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount);
|
||||
for (i = 0; i < 4; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *object)
|
||||
{
|
||||
winIVRRenderModels_IVRRenderModels_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRResources_IVRResources_001.h"
|
||||
@@ -65,3 +67,29 @@ void destroy_winIVRResources_IVRResources_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRResources_IVRResources_001 *create_winIVRResources_IVRResources_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRResources_IVRResources_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRResources_IVRResources_001));
|
||||
struct thunk *thunks = alloc_thunks(2);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 2 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRResources_IVRResources_001_LoadSharedResource);
|
||||
init_thunk(&thunks[1], r, winIVRResources_IVRResources_001_GetResourceFullPath);
|
||||
for (i = 0; i < 2; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRResources_IVRResources_001_FnTable(void *object)
|
||||
{
|
||||
winIVRResources_IVRResources_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRScreenshots_IVRScreenshots_001.h"
|
||||
@@ -105,3 +107,34 @@ void destroy_winIVRScreenshots_IVRScreenshots_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRScreenshots_IVRScreenshots_001 *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRScreenshots_IVRScreenshots_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRScreenshots_IVRScreenshots_001));
|
||||
struct thunk *thunks = alloc_thunks(7);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 7 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRScreenshots_IVRScreenshots_001_RequestScreenshot);
|
||||
init_thunk(&thunks[1], r, winIVRScreenshots_IVRScreenshots_001_HookScreenshot);
|
||||
init_thunk(&thunks[2], r, winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType);
|
||||
init_thunk(&thunks[3], r, winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename);
|
||||
init_thunk(&thunks[4], r, winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress);
|
||||
init_thunk(&thunks[5], r, winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot);
|
||||
init_thunk(&thunks[6], r, winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot);
|
||||
for (i = 0; i < 7; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(void *object)
|
||||
{
|
||||
winIVRScreenshots_IVRScreenshots_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRSettings_IVRSettings_002.h"
|
||||
@@ -145,6 +147,42 @@ void destroy_winIVRSettings_IVRSettings_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRSettings_IVRSettings_002 *create_winIVRSettings_IVRSettings_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRSettings_IVRSettings_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_002));
|
||||
struct thunk *thunks = alloc_thunks(12);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum);
|
||||
init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_002_Sync);
|
||||
init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_002_SetBool);
|
||||
init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_002_SetInt32);
|
||||
init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_002_SetFloat);
|
||||
init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_002_SetString);
|
||||
init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_002_GetBool);
|
||||
init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_002_GetInt32);
|
||||
init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_002_GetFloat);
|
||||
init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_002_GetString);
|
||||
init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_002_RemoveSection);
|
||||
init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_002_RemoveKeyInSection);
|
||||
for (i = 0; i < 12; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRSettings_IVRSettings_002_FnTable(void *object)
|
||||
{
|
||||
winIVRSettings_IVRSettings_002 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRSettings_IVRSettings_001.h"
|
||||
|
||||
typedef struct __winIVRSettings_IVRSettings_001 {
|
||||
@@ -274,3 +312,39 @@ void destroy_winIVRSettings_IVRSettings_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001));
|
||||
struct thunk *thunks = alloc_thunks(12);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum);
|
||||
init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_001_Sync);
|
||||
init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_001_GetBool);
|
||||
init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_001_SetBool);
|
||||
init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_001_GetInt32);
|
||||
init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_001_SetInt32);
|
||||
init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_001_GetFloat);
|
||||
init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_001_SetFloat);
|
||||
init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_001_GetString);
|
||||
init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_001_SetString);
|
||||
init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_001_RemoveSection);
|
||||
init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection);
|
||||
for (i = 0; i < 12; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRSettings_IVRSettings_001_FnTable(void *object)
|
||||
{
|
||||
winIVRSettings_IVRSettings_001 *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);
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,8 @@
|
||||
|
||||
#include "struct_converters.h"
|
||||
|
||||
#include "flatapi.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
|
||||
|
||||
#include "cppIVRTrackedCamera_IVRTrackedCamera_003.h"
|
||||
@@ -145,6 +147,42 @@ void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003));
|
||||
struct thunk *thunks = alloc_thunks(12);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 12 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum);
|
||||
init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera);
|
||||
init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize);
|
||||
init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics);
|
||||
init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection);
|
||||
init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService);
|
||||
init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService);
|
||||
init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer);
|
||||
init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize);
|
||||
init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11);
|
||||
init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL);
|
||||
init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL);
|
||||
for (i = 0; i < 12; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *object)
|
||||
{
|
||||
winIVRTrackedCamera_IVRTrackedCamera_003 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRTrackedCamera_IVRTrackedCamera_002.h"
|
||||
|
||||
typedef struct __winIVRTrackedCamera_IVRTrackedCamera_002 {
|
||||
@@ -242,6 +280,38 @@ void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002));
|
||||
struct thunk *thunks = alloc_thunks(8);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 8 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum);
|
||||
init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera);
|
||||
init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize);
|
||||
init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics);
|
||||
init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection);
|
||||
init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService);
|
||||
init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService);
|
||||
init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer);
|
||||
for (i = 0; i < 8; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *object)
|
||||
{
|
||||
winIVRTrackedCamera_IVRTrackedCamera_002 *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);
|
||||
}
|
||||
|
||||
#include "cppIVRTrackedCamera_IVRTrackedCamera_001.h"
|
||||
|
||||
typedef struct __winIVRTrackedCamera_IVRTrackedCamera_001 {
|
||||
@@ -419,3 +489,45 @@ void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *object)
|
||||
HeapFree(GetProcessHeap(), 0, object);
|
||||
}
|
||||
|
||||
winIVRTrackedCamera_IVRTrackedCamera_001 *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *linux_side)
|
||||
{
|
||||
winIVRTrackedCamera_IVRTrackedCamera_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_001));
|
||||
struct thunk *thunks = alloc_thunks(18);
|
||||
struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 18 * sizeof(*vtable));
|
||||
int i;
|
||||
|
||||
TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks);
|
||||
init_thunk(&thunks[0], r, winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera);
|
||||
init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription);
|
||||
init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions);
|
||||
init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat);
|
||||
init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat);
|
||||
init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming);
|
||||
init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream);
|
||||
init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream);
|
||||
init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive);
|
||||
init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime);
|
||||
init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame);
|
||||
init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame);
|
||||
init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure);
|
||||
init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream);
|
||||
init_thunk(&thunks[14], r, winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream);
|
||||
init_thunk(&thunks[15], r, winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused);
|
||||
init_thunk(&thunks[16], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion);
|
||||
init_thunk(&thunks[17], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection);
|
||||
for (i = 0; i < 18; i++)
|
||||
vtable[i] = &thunks[i];
|
||||
r->linux_side = linux_side;
|
||||
r->vtable = (void *)vtable;
|
||||
return r;
|
||||
}
|
||||
|
||||
void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *object)
|
||||
{
|
||||
winIVRTrackedCamera_IVRTrackedCamera_001 *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);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,72 +1,144 @@
|
||||
extern void *create_winIVRSystem_IVRSystem_019(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_019_FnTable(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_006(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_006_FnTable(void *);
|
||||
extern void *create_winIVRSettings_IVRSettings_002(void *);
|
||||
extern void *create_winIVRSettings_IVRSettings_002_FnTable(void *);
|
||||
extern void *create_winIVRChaperone_IVRChaperone_003(void *);
|
||||
extern void *create_winIVRChaperone_IVRChaperone_003_FnTable(void *);
|
||||
extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *);
|
||||
extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_022(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_022_FnTable(void *);
|
||||
extern void *create_winIVRNotifications_IVRNotifications_002(void *);
|
||||
extern void *create_winIVRNotifications_IVRNotifications_002_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_018(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_018_FnTable(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_005(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *);
|
||||
extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *);
|
||||
extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *);
|
||||
extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *);
|
||||
extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *);
|
||||
extern void *create_winIVRScreenshots_IVRScreenshots_001(void *);
|
||||
extern void *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *);
|
||||
extern void *create_winIVRResources_IVRResources_001(void *);
|
||||
extern void *create_winIVRResources_IVRResources_001_FnTable(void *);
|
||||
extern void *create_winIVRDriverManager_IVRDriverManager_001(void *);
|
||||
extern void *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *);
|
||||
extern void *create_winIVRClientCore_IVRClientCore_003(void *);
|
||||
extern void *create_winIVRClientCore_IVRClientCore_003_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_017(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_017_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_017(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_017_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_021(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_021_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_016(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_016_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_016(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_016_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_020(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_020_FnTable(void *);
|
||||
extern void *create_winIVRClientCore_IVRClientCore_002(void *);
|
||||
extern void *create_winIVRClientCore_IVRClientCore_002_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_015(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_015_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_014(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_014_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_019(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_019_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_014(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_014_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_018(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_018_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_013(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_013_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_012(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_012_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_016(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_016_FnTable(void *);
|
||||
extern void *create_winIVRSettings_IVRSettings_001(void *);
|
||||
extern void *create_winIVRSettings_IVRSettings_001_FnTable(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_005(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_005_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_015(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_015_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_012(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_012_FnTable(void *);
|
||||
extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *);
|
||||
extern void *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_014(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_014_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_011(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_011_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_013(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_013_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_011(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_011_FnTable(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_004(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_004_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_010(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_010_FnTable(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_004(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_012(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_012_FnTable(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_003(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_003_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_011(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_011_FnTable(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_002(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_010(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_010_FnTable(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_002(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_002_FnTable(void *);
|
||||
extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *);
|
||||
extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_010(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_010_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_008(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_008_FnTable(void *);
|
||||
extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *);
|
||||
extern void *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_009(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_009_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_009(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_009_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_007(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_007_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_006(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_006_FnTable(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_001(void *);
|
||||
extern void *create_winIVRApplications_IVRApplications_001_FnTable(void *);
|
||||
extern void *create_winIVRChaperone_IVRChaperone_002(void *);
|
||||
extern void *create_winIVRChaperone_IVRChaperone_002_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_008(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_008_FnTable(void *);
|
||||
extern void *create_winIVRNotifications_IVRNotifications_001(void *);
|
||||
extern void *create_winIVRNotifications_IVRNotifications_001_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_005(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_005_FnTable(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_001(void *);
|
||||
extern void *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_005(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_005_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_007(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_007_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_004(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_004_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_003(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_003_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_002(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_002_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_004(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_004_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_006(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_006_FnTable(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_001(void *);
|
||||
extern void *create_winIVROverlay_IVROverlay_001_FnTable(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_003(void *);
|
||||
extern void *create_winIVRSystem_IVRSystem_003_FnTable(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_005(void *);
|
||||
extern void *create_winIVRCompositor_IVRCompositor_005_FnTable(void *);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user