/* This file is auto-generated, do not edit. */ #include #include #include "vrclient_private.h" #include "flatapi.h" WINE_DEFAULT_DEBUG_CHANNEL(vrclient); DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_GetErrorString, 16) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_CreateNotification, 40) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_DismissNotification, 8) uint32_t __thiscall winIVRNotifications_IVRNotifications_001_GetErrorString(struct w_steam_iface *_this, uint32_t error, char *pchBuffer, uint32_t unBufferSize) { struct IVRNotifications_IVRNotifications_001_GetErrorString_params params = { .linux_side = _this->u_iface, .error = error, .pchBuffer = pchBuffer, .unBufferSize = unBufferSize, }; TRACE("%p\n", _this); VRCLIENT_CALL( IVRNotifications_IVRNotifications_001_GetErrorString, ¶ms ); return params._ret; } uint32_t __thiscall winIVRNotifications_IVRNotifications_001_CreateNotification(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulUserValue, const char *strType, const char *strText, const char *strCategory, const w_NotificationBitmap *photo, uint32_t *notificationId) { struct IVRNotifications_IVRNotifications_001_CreateNotification_params params = { .linux_side = _this->u_iface, .ulOverlayHandle = ulOverlayHandle, .ulUserValue = ulUserValue, .strType = strType, .strText = strText, .strCategory = strCategory, .photo = photo, .notificationId = notificationId, }; TRACE("%p\n", _this); VRCLIENT_CALL( IVRNotifications_IVRNotifications_001_CreateNotification, ¶ms ); return params._ret; } uint32_t __thiscall winIVRNotifications_IVRNotifications_001_DismissNotification(struct w_steam_iface *_this, uint32_t notificationId) { struct IVRNotifications_IVRNotifications_001_DismissNotification_params params = { .linux_side = _this->u_iface, .notificationId = notificationId, }; TRACE("%p\n", _this); VRCLIENT_CALL( IVRNotifications_IVRNotifications_001_DismissNotification, ¶ms ); return params._ret; } extern vtable_ptr winIVRNotifications_IVRNotifications_001_vtable; DEFINE_RTTI_DATA0(winIVRNotifications_IVRNotifications_001, 0, ".?AVIVRNotifications@@") __ASM_BLOCK_BEGIN(winIVRNotifications_IVRNotifications_001_vtables) __ASM_VTABLE(winIVRNotifications_IVRNotifications_001, VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_001_GetErrorString) VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_001_CreateNotification) VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_001_DismissNotification) ); __ASM_BLOCK_END struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001(void *u_iface) { struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRNotifications_IVRNotifications_001_vtable; r->u_iface = u_iface; return r; } void destroy_winIVRNotifications_IVRNotifications_001(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001_FnTable(void *u_iface) { struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); 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, 3, FALSE, FALSE); init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_001_CreateNotification, 7, FALSE, FALSE); init_thunk(&thunks[2], r, winIVRNotifications_IVRNotifications_001_DismissNotification, 1, FALSE, FALSE); for (i = 0; i < 3; i++) vtable[i] = &thunks[i]; r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } void destroy_winIVRNotifications_IVRNotifications_001_FnTable(struct w_steam_iface *object) { TRACE("%p\n", object); VirtualFree(object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, object->vtable); HeapFree(GetProcessHeap(), 0, object); } DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_CreateNotification, 40) DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotification, 8) uint32_t __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulUserValue, uint32_t type, const char *pchText, uint32_t style, const w_NotificationBitmap_t *pImage, uint32_t *pNotificationId) { struct IVRNotifications_IVRNotifications_002_CreateNotification_params params = { .linux_side = _this->u_iface, .ulOverlayHandle = ulOverlayHandle, .ulUserValue = ulUserValue, .type = type, .pchText = pchText, .style = style, .pImage = pImage, .pNotificationId = pNotificationId, }; TRACE("%p\n", _this); VRCLIENT_CALL( IVRNotifications_IVRNotifications_002_CreateNotification, ¶ms ); return params._ret; } uint32_t __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(struct w_steam_iface *_this, uint32_t notificationId) { struct IVRNotifications_IVRNotifications_002_RemoveNotification_params params = { .linux_side = _this->u_iface, .notificationId = notificationId, }; TRACE("%p\n", _this); VRCLIENT_CALL( IVRNotifications_IVRNotifications_002_RemoveNotification, ¶ms ); return params._ret; } extern vtable_ptr winIVRNotifications_IVRNotifications_002_vtable; DEFINE_RTTI_DATA0(winIVRNotifications_IVRNotifications_002, 0, ".?AVIVRNotifications@@") __ASM_BLOCK_BEGIN(winIVRNotifications_IVRNotifications_002_vtables) __ASM_VTABLE(winIVRNotifications_IVRNotifications_002, VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_CreateNotification) VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_RemoveNotification) ); __ASM_BLOCK_END struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002(void *u_iface) { struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); TRACE("-> %p\n", r); r->vtable = &winIVRNotifications_IVRNotifications_002_vtable; r->u_iface = u_iface; return r; } void destroy_winIVRNotifications_IVRNotifications_002(struct w_steam_iface *object) { TRACE("%p\n", object); HeapFree(GetProcessHeap(), 0, object); } struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002_FnTable(void *u_iface) { struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); 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, 7, FALSE, FALSE); init_thunk(&thunks[1], r, winIVRNotifications_IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); for (i = 0; i < 2; i++) vtable[i] = &thunks[i]; r->u_iface = u_iface; r->vtable = (void *)vtable; return r; } void destroy_winIVRNotifications_IVRNotifications_002_FnTable(struct w_steam_iface *object) { TRACE("%p\n", object); VirtualFree(object->vtable[0], 0, MEM_RELEASE); HeapFree(GetProcessHeap(), 0, object->vtable); HeapFree(GetProcessHeap(), 0, object); } void init_winIVRNotifications_rtti( char *base ) { #ifdef __x86_64__ init_winIVRNotifications_IVRNotifications_001_rtti( base ); init_winIVRNotifications_IVRNotifications_002_rtti( base ); #endif /* __x86_64__ */ }